
1 Aug
2023
1 Aug
'23
4:07 a.m.
On Mon, Jul 31, 2023 at 9:56 PM Simon Glass sjg@chromium.org wrote:
From: Bin Meng bmeng.cn@gmail.com
On Coral U-Boot SPL programs some MTRRs and FSPv2 in U-Boot proper needs to program MTRRs too. With current testing logic of mtrr commit in init_cache_f_r(), the mtrr commit is skipped which won't work as the queued mtrr requests include setup for DRAM regions.
Change the logic to allow such configuration.
Signed-off-by: Bin Meng bmeng.cn@gmail.com Tweak to put back CONFIG_FSP_VERSION2 at top: Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Allow committing MTRRs with FSP_VERSION2
Changes in v2:
- new patch: "x86: Change tesing logic of mtrr commit"
arch/x86/lib/init_helpers.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
applied to u-boot-x86, thanks!