Patrick Georgi | c9fa96d | 2010-02-24 13:58:23 +0000 | [diff] [blame^] | 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 | const char* target1 = "fallback/romstage"; | ||||
10 | unsigned long entry; | ||||
11 | entry = findstage(target1); | ||||
12 | if (entry) call(entry, bist); | ||||
13 | asm volatile ("1:\n\thlt\n\tjmp 1b\n\t"); | ||||
14 | } | ||||
15 |