From 98cc0566ca958310e76b5242f7d49c1637bf0533 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Tue, 20 May 2008 20:16:34 +0000 Subject: 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 Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3340 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/coreinfo/coreinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/coreinfo') 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); } -- cgit v1.2.3