1 #include <bootblock_common.h>
2 #include <pc80/mc146818rtc.h>
4 static void main(unsigned long bist)
10 bootblock_northbridge_init();
11 bootblock_southbridge_init();
14 #if CONFIG_USE_OPTION_TABLE
17 boot_mode = do_normal_boot();
20 /* Questionable single byte read from CMOS.
21 * Do not add any other CMOS access in the
22 * bootblock for AP CPUs.
24 boot_mode = last_boot_normal();
28 entry = findstage("normal/romstage");
30 entry = findstage("fallback/romstage");
32 if (entry) call(entry, bist);
34 /* run fallback if normal can't be found */
35 entry = findstage("fallback/romstage");
36 if (entry) call(entry, bist);
38 /* duh. we're stuck */
39 asm volatile ("1:\n\thlt\n\tjmp 1b\n\t");