]> git.baikalelectronics.ru Git - uboot.git/commit
spl: Commit MTRRs only in board_init_f_r()
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:50:58 +0000 (16:50 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit34b2e280dc7e13b8a70a23c5545413588bc555fb
treeb39303a68257fb7c741618b01faf3f69c6ad1f6b
parentd1aa6b382f32aa8333972fc7037109638c1245a9
spl: Commit MTRRs only in board_init_f_r()

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, presumably since we are still running from CAR (Cache-as-RAM) in
SPL. Coral handles this OK, perhaps since it is running from a different
memory area, but it has no effect on Coral anyway.

Drop the extra mtrr_commit() in the SPL implementation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/spl.c