summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-power8/bootblock.c
blob: 9e56ba9ca483ce67149ed240fc554dea7a660d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#include <console/console.h>
#include <program_loading.h>

void qemu_power8_main(void);

/* The qemu part of all this is very, very non-hardware like.
 * So it gets its own bootblock.
 */
void qemu_power8_main(void)
{
	if (CONFIG(BOOTBLOCK_CONSOLE)) {
		console_init();
	}

	run_romstage();
}