blob: 3887b97c58a5cd48d771d890833a8b2179c64adb [file] [log] [blame]
Patrick Georgic9fa96d2010-02-24 13:58:23 +00001#include <bootblock_common.h>
2
3static void main(unsigned long bist)
4{
5 if (boot_cpu()) {
6 bootblock_northbridge_init();
7 bootblock_southbridge_init();
8 }
Patrick Georgifab35e32011-03-08 07:50:43 +00009
10#if CONFIG_USE_OPTION_TABLE
11 sanitize_cmos();
12#endif
13
Patrick Georgic9fa96d2010-02-24 13:58:23 +000014 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