From 41f7ffa449c6d2bf0ca022547d56921b6dab872f Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Sat, 30 Jul 2016 07:34:20 -0700 Subject: [PATCH] UPSTREAM: arch/x86: Display MTRRs after MTRR update in postcar Display the MTRRs after they have been updated during the postcar stage. TEST=Build and run on Galileo Gen2 BUG=None BRANCH=None Change-Id: Iaefedb737ee601c318fc0b6071943182cc7c11d7 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/15991 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/366299 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Furquan Shaikh --- src/arch/x86/exit_car.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/arch/x86/exit_car.S b/src/arch/x86/exit_car.S index a51d662e14..421d5434a7 100644 --- a/src/arch/x86/exit_car.S +++ b/src/arch/x86/exit_car.S @@ -108,6 +108,11 @@ _start: wrmsr #endif /* CONFIG_SOC_SETS_MSRS */ + /* Display the MTRRs */ +#if IS_ENABLED(CONFIG_POSTCAR_CONSOLE) + call soc_display_mtrrs +#endif /* CONFIG_POSTCAR_CONSOLE */ + /* Load and run ramstage. */ call copy_and_run /* Should never return. */