Enable the cache before initializing the processor name, like model_10 does.
authorMyles Watson <mylesgw@gmail.com>
Tue, 27 Apr 2010 15:00:18 +0000 (15:00 +0000)
committerMyles Watson <mylesgw@gmail.com>
Tue, 27 Apr 2010 15:00:18 +0000 (15:00 +0000)
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5511 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/cpu/amd/model_fxx/model_fxx_init.c

index 0c374859e77ef5b8e719f18f424cec8bb86a70f5..20770e7a119b8863ee1d472dd8a5f4cf5844e6dc 100644 (file)
@@ -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();