diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-10-23 17:10:27 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-10-30 20:18:53 +0000 |
commit | 8a643703b87630b4346e52cac3d3acdc95ac1c70 (patch) | |
tree | e7ec84129a9c02940b8fd8bbd778601b15c0956a /src/include | |
parent | 50f2e4ccec9df213e012c7ecddb0a9c644526c8d (diff) | |
download | coreboot-8a643703b87630b4346e52cac3d3acdc95ac1c70.tar.xz |
{cpu,drivers,nb,sb}/amd: Replace {MSR,MTRR} addresses with macros
Change-Id: I7e8de35dcdad52bb311b34bfa9b272d17ed3186b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/29243
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/amd/mtrr.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <AGESA.h> file. + */ + #define IORR_FIRST 0xC0010016 #define IORR_LAST 0xC0010019 |