From f3aa4707d3bef9f529a70a204dbc648968cf7c20 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Thu, 21 Oct 2004 02:53:25 +0000 Subject: - Explicitly disable the fixed dram extensions bits. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1697 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/mtrr/amd_mtrr.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cpu/amd/mtrr/amd_mtrr.c') 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 -- cgit v1.2.3