From a522df039b3085004dbff39fec675039d57b1fab Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 14 Dec 2006 00:40:09 +0000 Subject: Add mtrr support for pentium m cpus For cache to work the x86_setup_mtrrs() must be called. Closes #61 Signed-off-by: Jon Dufresne Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/intel/model_69x/model_69x_init.c | 1 + src/cpu/intel/model_6dx/model_6dx_init.c | 1 + src/cpu/intel/model_6xx/model_6xx_init.c | 1 + 3 files changed, 3 insertions(+) (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/model_69x/model_69x_init.c b/src/cpu/intel/model_69x/model_69x_init.c index 600ad46418..9ea49a9c55 100644 --- a/src/cpu/intel/model_69x/model_69x_init.c +++ b/src/cpu/intel/model_69x/model_69x_init.c @@ -24,6 +24,7 @@ static void model_69x_init(device_t dev) { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */ diff --git a/src/cpu/intel/model_6dx/model_6dx_init.c b/src/cpu/intel/model_6dx/model_6dx_init.c index ca00df43b4..3214bdd4bd 100644 --- a/src/cpu/intel/model_6dx/model_6dx_init.c +++ b/src/cpu/intel/model_6dx/model_6dx_init.c @@ -24,6 +24,7 @@ static void model_6dx_init(device_t dev) { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */ diff --git a/src/cpu/intel/model_6xx/model_6xx_init.c b/src/cpu/intel/model_6xx/model_6xx_init.c index 70010a32fa..cf0383f46a 100644 --- a/src/cpu/intel/model_6xx/model_6xx_init.c +++ b/src/cpu/intel/model_6xx/model_6xx_init.c @@ -30,6 +30,7 @@ static void model_6xx_init(device_t dev) { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */ -- cgit v1.2.3