summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2018-08-07 07:17:41 -0600
committerMartin Roth <martinroth@google.com>2018-08-08 17:50:02 +0000
commitbddd157ea1508e5d13dd592533bc7607241388fa (patch)
tree9b83984be3dc8e8bfbbb1f4b62bbef2e5ffafbc8 /src/soc/amd/stoneyridge
parentb388c0e5577eb360ee1df1da7f802b056cec08a9 (diff)
downloadcoreboot-bddd157ea1508e5d13dd592533bc7607241388fa.tar.xz
cpu/amd: Rename MCA status register
Change the defined name of MCI_STATUS (i.e. MCi_STATUS) to reflect its MC0_STATUS address. Change-Id: I97d2631a186965bb8b18f544ed9648b3a71f5fb0 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/27922 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/cpu.c b/src/soc/amd/stoneyridge/cpu.c
index 4dd371cdd3..628917485a 100644
--- a/src/soc/amd/stoneyridge/cpu.c
+++ b/src/soc/amd/stoneyridge/cpu.c
@@ -126,7 +126,7 @@ static void model_15_init(struct device *dev)
msr.lo = 0;
msr.hi = 0;
for (i = 0 ; i < 6 ; i++)
- wrmsr(MCI_STATUS + (i * 4), msr);
+ wrmsr(MC0_STATUS + (i * 4), msr);
setup_lapic();
}