summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-10-27 16:55:58 -0600
committerMarshall Dawson <marshalldawson3rd@gmail.com>2017-11-01 21:56:03 +0000
commit76db7886f4cbe9a0b2fd8f4c3f5846215afe014b (patch)
tree56c176cd5ea2c480e61547e8ad1396c07e625b41
parent154cd41037c6298faa94d046e8582f0674031dca (diff)
downloadcoreboot-76db7886f4cbe9a0b2fd8f4c3f5846215afe014b.tar.xz
cpu/amdfam15.h: Add definition for MMIO config MSR
Change-Id: Ide7f37e957964d8011438057e58c3d3a43829010 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/22241 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/include/cpu/amd/amdfam15.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h
index 33aa863192..008d5da765 100644
--- a/src/include/cpu/amd/amdfam15.h
+++ b/src/include/cpu/amd/amdfam15.h
@@ -26,6 +26,10 @@
# define SMM_LOCK (1 << 0)
#define NB_CFG_MSR 0xC001001f
+#define MMIO_CONF_BASE 0xC0010058
+# define MMIO_BUS_RANGE_SHIFT 2
+# define MMIO_RANGE_EN (1 << 0)
+
#define PSTATE_0_MSR 0xC0010064
#define LS_CFG_MSR 0xC0011020