[coreboot-gerrit] New patch to review for coreboot: 0301495 nvramcui: reboot at the end as TODO suggests

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Wed Jan 15 22:19:43 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4693

-gerrit

commit 0301495d063ab063db1720d2b2347ae48d329ced
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Wed Jan 15 22:09:25 2014 +0100

    nvramcui: reboot at the end as TODO suggests
    
    Use cf9 to reboot at the end.
    
    Change-Id: I642a5ec89c864fb03bbcdf6e4fcbb1e28f3fc34c
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 payloads/nvramcui/nvramcui.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c
index daf153b..f0496c6 100644
--- a/payloads/nvramcui/nvramcui.c
+++ b/payloads/nvramcui/nvramcui.c
@@ -245,7 +245,8 @@ int main()
 	refresh();
 
 	endwin();
-	/* TODO: reboot */
+	/* reboot */
+	outb (0x6, 0xcf9);
 	halt();
 }
 



More information about the coreboot-gerrit mailing list