From 636d9244259a86afd5af64268c5f6ab660d522fa Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Tue, 27 Apr 2010 15:00:18 +0000 Subject: Enable the cache before initializing the processor name, like model_10 does. Signed-off-by: Myles Watson Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5511 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/model_fxx/model_fxx_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index 0c374859e7..20770e7a11 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -515,11 +515,11 @@ static void model_fxx_init(device_t dev) msr.lo |= (1 << 0); wrmsr(HWCR_MSR, msr); + enable_cache(); + /* Set the processor name string */ init_processor_name(); - enable_cache(); - /* Enable the local cpu apics */ setup_lapic(); -- cgit v1.2.3