aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2022-11-20 09:21:13 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-11-22 12:00:44 +0100
commita84040ab4615cd6cd7f8a888e56f9befb0a97c65 (patch)
tree4e8403eea04e8eb0487ec69e0962c2dc7f0e9377 /include
parenta356b50fdfdb5b945e39fed5dcf3bba645be0859 (diff)
downloadu-boot-a84040ab4615cd6cd7f8a888e56f9befb0a97c65.zip
u-boot-a84040ab4615cd6cd7f8a888e56f9befb0a97c65.tar.gz
u-boot-a84040ab4615cd6cd7f8a888e56f9befb0a97c65.tar.bz2
eficonfig: refactor file selection handling
eficonfig_select_file_handler() is commonly used to select the file. eficonfig_display_select_file_option() adds an additional menu to clear the selected file. eficonfig_display_select_file_option() is not always necessary for the file selection process, so it must be outside of eficonfig_select_file_handler(). This commit also renames the following functions to avoid confusion. eficonfig_select_file_handler() -> eficonfig_process_select_file() eficonfig_select_file() -> eficonfig_show_file_selection() eficonfig_display_select_file_option() -> eficonfig_process_show_file_option() Finally, test_eficonfig.py need to be updated to get aligned with the above modification. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/efi_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_config.h b/include/efi_config.h
index 098cac2..cc6aa51 100644
--- a/include/efi_config.h
+++ b/include/efi_config.h
@@ -89,7 +89,7 @@ void eficonfig_print_msg(char *msg);
void eficonfig_destroy(struct efimenu *efi_menu);
efi_status_t eficonfig_process_quit(void *data);
efi_status_t eficonfig_process_common(struct efimenu *efi_menu, char *menu_header);
-efi_status_t eficonfig_select_file_handler(void *data);
+efi_status_t eficonfig_process_select_file(void *data);
efi_status_t eficonfig_get_unused_bootoption(u16 *buf,
efi_uintn_t buf_size, u32 *index);
efi_status_t eficonfig_append_bootorder(u16 index);