Fill out ChromeOS specific coreboot table extensions
[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                 bootblock_cpu_init();
9
10 #if CONFIG_USE_OPTION_TABLE
11                 sanitize_cmos();
12 #endif
13         }
14
15         const char* target1 = "fallback/romstage";
16         unsigned long entry;
17         entry = findstage(target1);
18         if (entry) call(entry, bist);
19         asm volatile ("1:\n\thlt\n\tjmp 1b\n\t");
20 }
21