- Explicitly disable the fixed dram extensions bits.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1697 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman 2004-10-21 02:53:25 +00:00
parent 29490a17ce
commit f3aa4707d3
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ void amd_setup_mtrrs(void)
device_t dev;
msr_t msr;
/* Disable the access to AMD RdDram and WrDram extension bits */
msr = rdmsr(SYSCFG_MSR);
msr.lo &= ~SYSCFG_MSR_MtrrFixDramModEn;
wrmsr(SYSCFG_MSR, msr);
x86_setup_mtrrs();
/* Except for the PCI MMIO hole just before 4GB there are no