mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
8dbd0a0f8e
commit
23aa0502a4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue