summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-power8/bootblock.c
blob: 397af094a75d21b81b1f80e5b66a84f591f24131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#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();
}