]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Do cache set-up by default when booting from coreboot
authorSimon Glass <sjg@chromium.org>
Sun, 27 Jun 2021 23:51:03 +0000 (17:51 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 15 Jul 2021 11:50:09 +0000 (19:50 +0800)
commite310a98c8f5d8865cb2e04deff153a2fb843491b
tree7590208705559ae124277914e8ef9d3ebcccac2e
parent6a00ac854fd29ba0f8f6ee50e41a8be55d464f72
x86: Do cache set-up by default when booting from coreboot

A recent change to disable cache setup when booting from coreboot
assumed that this has been done by SPL. The result is that for the
coreboot board, the cache is disabled (in start.S) and never
re-enabled.

If the cache was turned off, as it is on boards without SPL, we should
turn it back on. Add this new condition.

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