aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-05-28 21:34:43 -0600
committerAaron Durbin <adurbin@chromium.org>2020-06-02 16:10:05 +0000
commite1bf0656afaf4cdbb9759178b6b2af21baba42d7 (patch)
treebe803ec4e98d01f9a3faa457a9fdeb27dc33db3b /src/arch/x86/include
parentfa5eded303ac25c95ca4300ebfb4788c149bf2ab (diff)
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 <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41850 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/romstage.h5
1 files changed, 2 insertions, 3 deletions
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 <stddef.h>
#include <stdint.h>
+#include <cpu/x86/mtrr.h>
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;
};
/*