mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: make the UEFI boot manager configurable
Some boards are very tight on the binary size. Booting via UEFI is possible without using the boot manager. Provide a configuration option to make the boot manager available. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
2363effb7a
commit
ff2f532fad
5 changed files with 33 additions and 10 deletions
|
@ -123,14 +123,20 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#define BOOTENV_SHARED_EFI \
|
||||
#ifdef CONFIG_CMD_BOOTEFI_BOOTMGR
|
||||
#define BOOTENV_EFI_BOOTMGR \
|
||||
"boot_efi_bootmgr=" \
|
||||
"if fdt addr ${fdt_addr_r}; then " \
|
||||
"bootefi bootmgr ${fdt_addr_r};" \
|
||||
"else " \
|
||||
"bootefi bootmgr;" \
|
||||
"fi\0" \
|
||||
"fi\0"
|
||||
#else
|
||||
#define BOOTENV_EFI_BOOTMGR
|
||||
#endif
|
||||
|
||||
#define BOOTENV_SHARED_EFI \
|
||||
BOOTENV_EFI_BOOTMGR \
|
||||
\
|
||||
"boot_efi_binary=" \
|
||||
"load ${devtype} ${devnum}:${distro_bootpart} " \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue