From e1bf0656afaf4cdbb9759178b6b2af21baba42d7 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 28 May 2020 21:34:43 -0600 Subject: arch/x86/postcar_loader: utilize var_mtrr_context API Now that there is a generic solution in mtrr subsystem utilize the API. BUG=b:155426691,b:155322763 Change-Id: Ie349d5669808928c7470c99d25c57c784174b4e9 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/c/coreboot/+/41850 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/arch/x86/include/arch/romstage.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/arch/x86/include') diff --git a/src/arch/x86/include/arch/romstage.h b/src/arch/x86/include/arch/romstage.h index 8418366d6c..28d29bfdd8 100644 --- a/src/arch/x86/include/arch/romstage.h +++ b/src/arch/x86/include/arch/romstage.h @@ -5,6 +5,7 @@ #include #include +#include void mainboard_romstage_entry(void); @@ -16,10 +17,8 @@ void mainboard_romstage_entry(void); struct postcar_frame { uintptr_t stack; - uint32_t upper_mask; - int max_var_mtrrs; - int num_var_mtrrs; int skip_common_mtrr; + struct var_mtrr_context ctx; }; /* -- cgit v1.2.3