coreinfo: reboot when finished

Behave as nvramcui.
Avoid a "General Protection Fault Exception" when launched by SeaBIOS on
pcengines APU1.

Change-Id: I00b1f859f76e693e8d49a38c1e02f4f49add85b7
Signed-off-by: Maxime de Roucy <maxime.deroucy@gmail.com>
Reviewed-on: http://review.coreboot.org/11731
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Maxime de Roucy 2015-09-27 15:53:40 +02:00 committed by Patrick Georgi
parent dc1b3c162e
commit 8190078ad5
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ int main(void)
loop();
/* reboot */
outb(0x6, 0xcf9);
halt();
return 0;
}