[coreboot-gerrit] Patch set updated for coreboot: 34d441f nvramcui: reboot at the end as TODO suggests

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Jan 19 12:51:39 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 34d441f1a8cedb7fb5446161559fe477c5497f4f
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