projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1c7c1
)
coreinfo: Use the ESC key to exit the payload
author
Jordan Crouse
<jordan.crouse@amd.com>
Tue, 20 May 2008 20:16:34 +0000
(20:16 +0000)
committer
Jordan Crouse
<jordan.crouse@amd.com>
Tue, 20 May 2008 20:16:34 +0000
(20:16 +0000)
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
payloads/coreinfo/coreinfo.c
patch
|
blob
|
history
diff --git
a/payloads/coreinfo/coreinfo.c
b/payloads/coreinfo/coreinfo.c
index f7e8d88149ed71c15fbae71ff5436fd79e8a4de1..193da3d2d4e51b275bd29d522230f000f5228458 100644
(file)
--- 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);
}