Apparently, it's not crucial to clear this at the exact moment we switch
to using ram, so something like the appended is perhaps more appropriate. Confirmed to work on hw. Signed-off-by: Arne Georg Gleditsch <arne.gleditsch@numscale.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5791 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Patrick Georgi
parent
9c35c8409d
commit
6556534bab
@@ -113,6 +113,11 @@ static void model_10xxx_init(device_t dev)
|
||||
msr.hi &= ~(1 << (46 - 32));
|
||||
wrmsr(NB_CFG_MSR, msr);
|
||||
|
||||
/* Clear ClLinesToNbDis */
|
||||
msr = rdmsr(BU_CFG2_MSR);
|
||||
msr.lo &= ~(1 << 15);
|
||||
wrmsr(BU_CFG2_MSR, msr);
|
||||
|
||||
/* Write protect SMM space with SMMLOCK. */
|
||||
msr = rdmsr(HWCR_MSR);
|
||||
msr.lo |= (1 << 0);
|
||||
|
Reference in New Issue
Block a user