aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/init/bootblock_simple.c
blob: e8994ee092463ee589d75b16061c19510d0aa229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <bootblock_common.h>

static void main(unsigned long bist)
{
	if (boot_cpu()) {
		bootblock_northbridge_init();
		bootblock_southbridge_init();
	}
	const char* target1 = "fallback/romstage";
	unsigned long entry;
	entry = findstage(target1);
	if (entry) call(entry, bist);
	asm volatile ("1:\n\thlt\n\tjmp 1b\n\t");
}