From 8190078ad58114ddf7969f19e12d7bd27c573d3e Mon Sep 17 00:00:00 2001 From: Maxime de Roucy Date: Sun, 27 Sep 2015 15:53:40 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/11731 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- payloads/coreinfo/coreinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index 5bd1068d1e..df520562b7 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -301,6 +301,9 @@ int main(void) loop(); + /* reboot */ + outb(0x6, 0xcf9); + halt(); return 0; } -- cgit v1.2.3