From 8a643703b87630b4346e52cac3d3acdc95ac1c70 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 23 Oct 2018 17:10:27 +0200 Subject: {cpu,drivers,nb,sb}/amd: Replace {MSR,MTRR} addresses with macros Change-Id: I7e8de35dcdad52bb311b34bfa9b272d17ed3186b Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/29243 Reviewed-by: Richard Spiegel Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/include/cpu/amd/mtrr.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include/cpu/amd') diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h index 33b5939e2f..46d66f8cef 100644 --- a/src/include/cpu/amd/mtrr.h +++ b/src/include/cpu/amd/mtrr.h @@ -1,6 +1,18 @@ #ifndef CPU_AMD_MTRR_H #define CPU_AMD_MTRR_H +/* FIXME + * Replace + * #define IORR_FIRST 0xC0010016 + * #define IORR_LAST 0xC0010019 + * with + * #define IORR0_BASE 0xC0010016 + * #define IORR0_MASK 0xC0010017 + * #define IORR1_BASE 0xC0010018 + * #define IORR1_MASK 0xC0010019 + * those are also defined in vendorcode file. + */ + #define IORR_FIRST 0xC0010016 #define IORR_LAST 0xC0010019 -- cgit v1.2.3