mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: EFI_DEVICE_PATH_UTILITIES_PROTOCOL configurable
Allow the EFI_DEVICE_PATH_UTILITIES_PROTOCOL to be disabled via configuration. On systems that are very tight on U-Boot image size we may want to disable the protocol. As it is required to run the UEFI Shell enable it by default. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
4cb07d8d93
commit
59593a52a3
3 changed files with 10 additions and 1 deletions
|
@ -58,9 +58,11 @@ efi_status_t efi_root_node_register(void)
|
|||
&efi_guid_device_path_to_text_protocol,
|
||||
(void *)&efi_device_path_to_text,
|
||||
#endif
|
||||
#ifdef CONFIG_EFI_DEVICE_PATH_UTIL
|
||||
/* Device path utilities protocol */
|
||||
&efi_guid_device_path_utilities_protocol,
|
||||
(void *)&efi_device_path_utilities,
|
||||
#endif
|
||||
#ifdef CONFIG_EFI_DT_FIXUP
|
||||
/* Device-tree fix-up protocol */
|
||||
&efi_guid_dt_fixup_protocol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue