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
This commit is contained in:
Jordan Crouse 2008-05-20 20:16:34 +00:00
parent 9b1c7c1645
commit 98cc0566ca
1 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,8 @@ static void loop(void)
} }
} }
if (key == 0x1B)
return;
handle_category_key(&categories[curwin], key); handle_category_key(&categories[curwin], key);
} }