]> git.baikalelectronics.ru Git - uboot.git/commit
eficonfig: refactor eficonfig_process_common function
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Tue, 24 Jan 2023 06:56:13 +0000 (15:56 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 27 Jan 2023 17:32:00 +0000 (18:32 +0100)
commit53624f5c206bae57c69fb53c5857253971611ec5
tree9b84d62e338e82c0b8d740444f44ac730ea89a20
parentb62dbc3985f4fcbf99301fa4aa158656c087e38c
eficonfig: refactor eficonfig_process_common function

Current change boot order implementation does not call
eficonfig_process_common() and call own menu functions
for display_statusline, item_data_print and item_choice.
Change boot order functionality should call
eficonfig_process_common() to improve maintenanceability.

This commit is a preparation to remove the change boot
order specific implementation. The menu functions
(display_statusline, item_data_print and item_choice) are
added as argument of eficonfig_process_common().
The menu description string displayed at the bottom of
the menu is also added as argument.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/eficonfig.c
cmd/eficonfig_sbkey.c
include/efi_config.h