summaryrefslogtreecommitdiff
path: root/cmd/bootefi.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-18 20:17:22 +0200
committerAlexander Graf <agraf@suse.de>2017-07-19 14:36:04 +0200
commit91be9a77b758f5c785787260a1ed8f1b751ff49a (patch)
tree624261248a959a71e8dc860a648b7f7f3f120751 /cmd/bootefi.c
parentbfc724625f73f80321945fee306d0c4dc3015898 (diff)
efi_console: set up events
Set up a timer event and the WaitForKey event. In the notify function of the timer event check for console input and signal the WaitForKey event accordingly. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r--cmd/bootefi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 08c60e6fa9..e9f14d54af 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -226,6 +226,7 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
INIT_LIST_HEAD(&efi_obj_list);
list_add_tail(&loaded_image_info_obj.link, &efi_obj_list);
list_add_tail(&bootefi_device_obj.link, &efi_obj_list);
+ efi_console_register();
#ifdef CONFIG_PARTITIONS
efi_disk_register();
#endif