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:
parent
9c35c8409d
commit
6556534bab
|
@ -113,6 +113,11 @@ static void model_10xxx_init(device_t dev)
|
||||||
msr.hi &= ~(1 << (46 - 32));
|
msr.hi &= ~(1 << (46 - 32));
|
||||||
wrmsr(NB_CFG_MSR, msr);
|
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. */
|
/* Write protect SMM space with SMMLOCK. */
|
||||||
msr = rdmsr(HWCR_MSR);
|
msr = rdmsr(HWCR_MSR);
|
||||||
msr.lo |= (1 << 0);
|
msr.lo |= (1 << 0);
|
||||||
|
|
|
@ -3189,7 +3189,7 @@ static void mct_FinalMCT_D(struct MCTStatStruc *pMCTstat,
|
||||||
print_t("\tmct_FinalMCT_D: Clr Cl, Wb\n");
|
print_t("\tmct_FinalMCT_D: Clr Cl, Wb\n");
|
||||||
|
|
||||||
|
|
||||||
mct_ClrClToNB_D(pMCTstat, pDCTstat);
|
/* ClrClToNB_D postponed til we're done executing from ROM */
|
||||||
mct_ClrWbEnhWsbDis_D(pMCTstat, pDCTstat);
|
mct_ClrWbEnhWsbDis_D(pMCTstat, pDCTstat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue