summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-05-20 20:16:34 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-05-20 20:16:34 +0000
commit98cc0566ca958310e76b5242f7d49c1637bf0533 (patch)
tree0ed6c4faec718f0b71209ef0943f225c006fee02
parent9b1c7c16451fc8bf12a20fe61a645b14216b3229 (diff)
coreinfo: Use the ESC key to exit the payload
Enable the ESC key to close coreinfo - useful if you are using a chooser and want to return to it. Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3340 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--payloads/coreinfo/coreinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index f7e8d88149..193da3d2d4 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -256,6 +256,8 @@ static void loop(void)
}
}
+ if (key == 0x1B)
+ return;
handle_category_key(&categories[curwin], key);
}