summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cs5536
diff options
context:
space:
mode:
authorRichard Smith <smithbone@gmail.com>2006-08-25 14:06:48 +0000
committerRichard Smith <smithbone@gmail.com>2006-08-25 14:06:48 +0000
commit64443b8c4970cc61ca4501d041d9e6983d02bef9 (patch)
tree9d2a5ab8d1fa1321d17a6614105d9b421cb876eb /src/southbridge/amd/cs5536
parent59ba228f921169bb12347932237c7500ccd58b41 (diff)
downloadcoreboot-64443b8c4970cc61ca4501d041d9e6983d02bef9.tar.xz
- fix a silly pointer dereference thinko in my previous commit
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/cs5536')
-rw-r--r--src/southbridge/amd/cs5536/cs5536.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/cs5536/cs5536.c b/src/southbridge/amd/cs5536/cs5536.c
index f4a292b497..1c93a1e936 100644
--- a/src/southbridge/amd/cs5536/cs5536.c
+++ b/src/southbridge/amd/cs5536/cs5536.c
@@ -176,16 +176,16 @@ static void southbridge_init(struct device *dev)
msr.hi |= 0xa;
msr.lo |= 0xfe010000;
-#if 0
wrmsr(USB2_SB_GLD_MSR_UOC_BASE, msr);
msr = rdmsr(USB2_SB_GLD_MSR_UOC_BASE);
printk_err("New UOC Base 0x%08x%08x\n", msr.hi,msr.lo);
- uocmux = (unsigned long *)msr.lo+4;
+ uocmux = (unsigned long *)(msr.lo+4);
val = *uocmux;
- printk_err("UOCMUX is 0x%lx\n",*val);
+ printk_err("UOCMUX is 0x%lx\n",val);
+#if 0
val &= ~(0xc0);
val |= 0x2;