summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2022-09-12 17:33:52 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-09-14 08:43:31 +0200
commit95fc669774ed15bf17217788865bfd6bda9a7a34 (patch)
treeb5144a304111a3c2a6391ba70a216c9c55c0e03b /include
parente34158bc331712dc192e4ce6da86a8c80fe7367d (diff)
downloadu-boot-95fc669774ed15bf17217788865bfd6bda9a7a34.tar.gz
u-boot-95fc669774ed15bf17217788865bfd6bda9a7a34.tar.bz2
u-boot-95fc669774ed15bf17217788865bfd6bda9a7a34.zip
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling
This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/menu.h b/include/menu.h
index e74616cae8..702aacb170 100644
--- a/include/menu.h
+++ b/include/menu.h
@@ -48,6 +48,9 @@ enum bootmenu_key {
KEY_DOWN,
KEY_SELECT,
KEY_QUIT,
+ KEY_PLUS,
+ KEY_MINUS,
+ KEY_SPACE,
};
void bootmenu_autoboot_loop(struct bootmenu_data *menu,