diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2023-01-24 15:56:16 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-27 18:32:00 +0100 |
commit | 23aa0502a4b9a60156809cd27baf7e9016d1be56 (patch) | |
tree | 0de28c8f3812fe35f3dcf8d25554dface35d8555 | |
parent | 8dbd0a0f8e4c59c4fa705585ee2d552acdc5bdb2 (diff) | |
download | u-boot-23aa0502a4b9a60156809cd27baf7e9016d1be56.tar.gz u-boot-23aa0502a4b9a60156809cd27baf7e9016d1be56.tar.bz2 u-boot-23aa0502a4b9a60156809cd27baf7e9016d1be56.zip |
eficonfig: increase the number of menu entries
Current eficonfig has the maximum number of menu entries and
it is 99. If there are more EFI load options and files in the
system, eficonfig can not handle it.
This commit increases this maximum number of menu entries
to INT_MAX.
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r-- | include/efi_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_config.h b/include/efi_config.h index 6a104e4b1d..e5edbb5e09 100644 --- a/include/efi_config.h +++ b/include/efi_config.h @@ -11,7 +11,7 @@ #include <efi_loader.h> #include <menu.h> -#define EFICONFIG_ENTRY_NUM_MAX 99 +#define EFICONFIG_ENTRY_NUM_MAX INT_MAX #define EFICONFIG_VOLUME_PATH_MAX 512 #define EFICONFIG_FILE_PATH_MAX 512 #define EFICONFIG_FILE_PATH_BUF_SIZE (EFICONFIG_FILE_PATH_MAX * sizeof(u16)) |