Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / cpu / intel / model_f2x / model_f2x_init.c
index 4f69d81d2a72c2dcd7ad7c3a5ee4ab8992d35acc..9c7af78969405ff16f44b4f9a1d0a1be47daadaf 100644 (file)
@@ -8,6 +8,7 @@
 #include <cpu/x86/msr.h>
 #include <cpu/x86/lapic.h>
 #include <cpu/intel/microcode.h>
+#include <cpu/intel/hyperthreading.h>
 #include <cpu/x86/cache.h>
 #include <cpu/x86/mtrr.h>
 
@@ -34,9 +35,9 @@ static void model_f2x_init(device_t cpu)
 {
        /* Turn on caching if we haven't already */
        x86_enable_cache();
-       x86_setup_mtrrs();
+       x86_setup_mtrrs(36);
        x86_mtrr_check();
-       
+
        /* Update the microcode */
        intel_update_microcode(microcode_updates);
 
@@ -59,7 +60,7 @@ static struct cpu_device_id cpu_table[] = {
        { 0, 0 },
 };
 
-static struct cpu_driver driver __cpu_driver = {
+static const struct cpu_driver driver __cpu_driver = {
        .ops      = &cpu_dev_ops,
        .id_table = cpu_table,
 };