- 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
This commit is contained in:
Richard Smith 2006-08-25 14:06:48 +00:00
parent 59ba228f92
commit 64443b8c49
1 changed files with 3 additions and 3 deletions

View File

@ -176,16 +176,16 @@ static void southbridge_init(struct device *dev)
msr.hi |= 0xa; msr.hi |= 0xa;
msr.lo |= 0xfe010000; msr.lo |= 0xfe010000;
#if 0
wrmsr(USB2_SB_GLD_MSR_UOC_BASE, msr); wrmsr(USB2_SB_GLD_MSR_UOC_BASE, msr);
msr = rdmsr(USB2_SB_GLD_MSR_UOC_BASE); msr = rdmsr(USB2_SB_GLD_MSR_UOC_BASE);
printk_err("New UOC Base 0x%08x%08x\n", msr.hi,msr.lo); 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; val = *uocmux;
printk_err("UOCMUX is 0x%lx\n",*val); printk_err("UOCMUX is 0x%lx\n",val);
#if 0
val &= ~(0xc0); val &= ~(0xc0);
val |= 0x2; val |= 0x2;