summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/k8/cpufixup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/k8/cpufixup.c b/src/cpu/k8/cpufixup.c
index 573064071d..fa9c1d2a52 100644
--- a/src/cpu/k8/cpufixup.c
+++ b/src/cpu/k8/cpufixup.c
@@ -36,7 +36,7 @@ void k8_cpufixup(struct mem_range *mem)
/* Setup TOP_MEM2 */
msr.hi = tomk >> 22;
- msr.lo = tomk << 12;
+ msr.lo = tomk << 10;
wrmsr(TOP_MEM2, msr);
/* zero the IORR's before we enable to prevent
@@ -47,7 +47,7 @@ void k8_cpufixup(struct mem_range *mem)
wrmsr(i, msr);
}
- msr = rdmsr(SYSCFG);
+ msr = rdmsr(SYSCFG_MSR);
msr.lo |= SYSCFG_MSR_MtrrVarDramEn | SYSCFG_MSR_TOM2En;
- wrmsr(SYSCFG, msr);
+ wrmsr(SYSCFG_MSR, msr);
}