We don't need to commit the SPI-flash MTRR change immediately, since it is
now done in the board_init_f_r(). Also this causes chromebook_link64 to
hang.

Drop the extra mtrr_commit() in the SPL implementation.

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

 arch/x86/lib/spl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 388b51086410..f0b74d04252a 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -147,7 +147,6 @@ static int x86_spl_init(void)
                debug("%s: SPI cache setup failed (err=%d)\n", __func__, ret);
                return ret;
        }
-       mtrr_commit(true);
 # else
        ret = syscon_get_by_driver_data(X86_SYSCON_PUNIT, &punit);
        if (ret)
-- 
2.40.0.634.g4ca3ef3211-goog

Reply via email to