summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Dawson <marshall.dawson@scarletltd.com>2018-08-03 17:07:57 -0600
committerMartin Roth <martinroth@google.com>2018-08-08 17:51:40 +0000
commitf9a63c0a848699bf96adeba8d3faab573a920ff1 (patch)
tree20894039307339b7f3b2738439729299b16c4c8a /src
parent2e49cf129ac0f3326989cd1202904a3f02d1d467 (diff)
amd/fam15: Add MCA bank register definitions
Define the additional registers used for each Machine Check Architecture bank. Change-Id: I962f23662789a3b974f4946555f67fcfc6147df8 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/27925 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-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 3095dd1693..1441c05e72 100644
--- a/src/include/cpu/amd/amdfam15.h
+++ b/src/include/cpu/amd/amdfam15.h
@@ -18,7 +18,11 @@
#define MCG_CAP 0x00000179
# define MCA_BANKS_MASK 0xff
+#define MC0_CTL 0x00000400
#define MC0_STATUS 0x00000401
+#define MC0_ADDR 0x00000402
+#define MC0_MISC 0x00000403
+#define MC0_CTL_MASK 0xC0010044
#define MSR_SMM_BASE 0xC0010111
#define MSR_TSEG_BASE 0xC0010112
#define MSR_SMM_MASK 0xC0010113