Only BSP CPU writes CMOS in bootblock code
[coreboot.git] / src / arch / x86 / init / bootblock_simple.c
index 3887b97c58a5cd48d771d890833a8b2179c64adb..41f73b43b6129b30fee5a1bf6eaf283792c32cc1 100644 (file)
@@ -5,11 +5,12 @@ static void main(unsigned long bist)
        if (boot_cpu()) {
                bootblock_northbridge_init();
                bootblock_southbridge_init();
-       }
+               bootblock_cpu_init();
 
 #if CONFIG_USE_OPTION_TABLE
-       sanitize_cmos();
+               sanitize_cmos();
 #endif
+       }
 
        const char* target1 = "fallback/romstage";
        unsigned long entry;