summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2011-05-15 21:06:30 +0000
committerMarc Jones <marc.jones@amd.com>2011-05-15 21:06:30 +0000
commit6d6a456c9af2fdb88260d06b532a3be0b0b55e2f (patch)
treea496e26679a34358849d6e6363b44b4a75bd1b14 /src/cpu/amd
parenta72425a7e624efd01bacbea87154383b05e41b57 (diff)
Correct the number of MCA error reporting banks cleared.
Signed-off-by: Scott Duplichan <scott@notabs.org> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6571 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa_wrapper/family14/model_14_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/agesa_wrapper/family14/model_14_init.c b/src/cpu/amd/agesa_wrapper/family14/model_14_init.c
index d4d9667908..e6b33371cb 100644
--- a/src/cpu/amd/agesa_wrapper/family14/model_14_init.c
+++ b/src/cpu/amd/agesa_wrapper/family14/model_14_init.c
@@ -93,7 +93,7 @@ static void model_14_init(device_t dev)
/* zero the machine check error status registers */
msr.lo = 0;
msr.hi = 0;
- for (i = 0; i < 5; i++) {
+ for (i = 0; i < 6; i++) {
wrmsr(MCI_STATUS + (i * 4), msr);
}