aboutsummaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2019-11-28 06:46:09 +0100
committerHeinrich Schuchardt2020-01-07 18:08:20 +0100
commit7a597259d26f84a63350b6a1af5b29445e9d451b (patch)
tree01f50852a2dee9a7abde216f7abcb64f87c45432 /include/efi_loader.h
parent570147275c00ce64e0aaa956b1dff73c7422985d (diff)
efi_loader: pass address to efi_install_fdt()
As part of moving the parsing of command line arguments to do_bootefi() call efi_install_fdt() with the address of the device tree instead of a string. If the address is EFI_FDT_USE_INTERNAL (= 0), the internal device tree is used. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 16a1b258b17..3a220893298 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -34,6 +34,9 @@ static inline int guidcmp(const void *g1, const void *g2)
EFI_GUID(0xbbe4e671, 0x5773, 0x4ea1, \
0x9a, 0xab, 0x3a, 0x7d, 0xbf, 0x40, 0xc4, 0x82)
+/* Use internal device tree when starting UEFI application */
+#define EFI_FDT_USE_INTERNAL 0UL
+
/* Root node */
extern efi_handle_t efi_root;