3887b97c58a5cd48d771d890833a8b2179c64adb
[coreboot.git] / src / arch / x86 / init / bootblock_simple.c
1 #include <bootblock_common.h>
2
3 static void main(unsigned long bist)
4 {
5         if (boot_cpu()) {
6                 bootblock_northbridge_init();
7                 bootblock_southbridge_init();
8         }
9
10 #if CONFIG_USE_OPTION_TABLE
11         sanitize_cmos();
12 #endif
13
14         const char* target1 = "fallback/romstage";
15         unsigned long entry;
16         entry = findstage(target1);
17         if (entry) call(entry, bist);
18         asm volatile ("1:\n\thlt\n\tjmp 1b\n\t");
19 }
20