
From: Simon Glass <sjg@chromium.org> Move this constant to the efi.h header so that it can be used by the app. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/efi.h | 3 +++ include/efi_loader.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/efi.h b/include/efi.h index 302c662a8a7..2de732cec91 100644 --- a/include/efi.h +++ b/include/efi.h @@ -566,6 +566,9 @@ extern char _binary_u_boot_bin_start[], _binary_u_boot_bin_end[], _binary_u_boot EFI_VARIABLE_APPEND_WRITE | \ EFI_VARIABLE_ENHANCED_AUTHENTICATED_ACCESS) +/* Use internal device tree when starting UEFI application */ +#define EFI_FDT_USE_INTERNAL NULL + /** * efi_get_priv() - Get access to the EFI-private information * diff --git a/include/efi_loader.h b/include/efi_loader.h index 5cc4cad9697..b57196da8da 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -197,9 +197,6 @@ static inline void efi_net_set_addr(struct efi_ipv4_address *ip, EFI_GUID(0xb2ac5fc9, 0x92b7, 0x4acd, \ 0xae, 0xac, 0x11, 0xe8, 0x18, 0xc3, 0x13, 0x0c) -/* Use internal device tree when starting UEFI application */ -#define EFI_FDT_USE_INTERNAL NULL - /* Root node */ extern efi_handle_t efi_root; -- 2.43.0