summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-15 22:09:25 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-05-19 15:15:22 +0200
commitc728288a1f5bd8307450378e2062aa444fa0129f (patch)
tree99b9b0f6a384cda0d778d6a70a00855cb36b32c2 /payloads
parent017c2150d4a528c58a454705db74210477623a5f (diff)
nvramcui: reboot at the end as TODO suggests
Use cf9 to reboot at the end. Change-Id: I642a5ec89c864fb03bbcdf6e4fcbb1e28f3fc34c Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4693 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/nvramcui/nvramcui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c
index 5a8ca5047a..72bdd1c6cf 100644
--- a/payloads/nvramcui/nvramcui.c
+++ b/payloads/nvramcui/nvramcui.c
@@ -247,7 +247,8 @@ int main()
unpost_form(form);
free_form(form);
- /* TODO: reboot */
+ /* reboot */
+ outb (0x6, 0xcf9);
halt();
}