diff options
-rw-r--r-- | src/cpu/amd/mtrr/amd_mtrr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/amd/mtrr/amd_mtrr.c b/src/cpu/amd/mtrr/amd_mtrr.c index 7c8d50ae68..ab6bc2bbee 100644 --- a/src/cpu/amd/mtrr/amd_mtrr.c +++ b/src/cpu/amd/mtrr/amd_mtrr.c @@ -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 |