diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-10-12 00:18:00 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2016-10-15 00:24:46 +0200 |
commit | 2af174a7dc8fc85f142a895ab3240a83265f7e27 (patch) | |
tree | c8ffe4b1a48e1d86f976887d16eb2b716c77f961 /src/mainboard/emulation/qemu-power8 | |
parent | 03bf301d825ff0e360be67b4839bdb11f2f61774 (diff) |
riscv and power8: Convert printk/while(1) to die
Change-Id: I277cc9ae22cd33f2cd9ded808960349d09e8670d
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/16984
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/emulation/qemu-power8')
-rw-r--r-- | src/mainboard/emulation/qemu-power8/mainboard.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-power8/mainboard.c b/src/mainboard/emulation/qemu-power8/mainboard.c index 102f54c2ee..6413f294e8 100644 --- a/src/mainboard/emulation/qemu-power8/mainboard.c +++ b/src/mainboard/emulation/qemu-power8/mainboard.c @@ -21,9 +21,7 @@ static void mainboard_enable(device_t dev) { if (!dev) { - printk(BIOS_EMERG, "No dev0; die\n"); - while (1) - ; + die("No dev0; die\n"); } // Where does RAM live? |