[coreboot] r3340 - trunk/payloads/coreinfo

svn at coreboot.org svn at coreboot.org
Tue May 20 22:16:34 CEST 2008


Author: jcrouse
Date: 2008-05-20 22:16:34 +0200 (Tue, 20 May 2008)
New Revision: 3340

Modified:
   trunk/payloads/coreinfo/coreinfo.c
Log:
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 at amd.com>
Acked-by: Myles Watson <mylesgw at gmail.com>


Modified: trunk/payloads/coreinfo/coreinfo.c
===================================================================
--- trunk/payloads/coreinfo/coreinfo.c	2008-05-20 20:16:03 UTC (rev 3339)
+++ trunk/payloads/coreinfo/coreinfo.c	2008-05-20 20:16:34 UTC (rev 3340)
@@ -256,6 +256,8 @@
 			}
 		}
 
+		if (key == 0x1B)
+			return;
 
 		handle_category_key(&categories[curwin], key);
 	}





More information about the coreboot mailing list