aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-12-08 01:07:01 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-07 18:08:20 +0100
commitf64f223256f32e86d97ec32eea7dc36d5e9c5fd9 (patch)
tree4d5ff2627630036c2553e2f62a6a4fd8d57b8ad2 /include
parentf9ceb6ac1443b824e94a9df9ec1dfb2bc742e451 (diff)
downloadu-boot-f64f223256f32e86d97ec32eea7dc36d5e9c5fd9.zip
u-boot-f64f223256f32e86d97ec32eea7dc36d5e9c5fd9.tar.gz
u-boot-f64f223256f32e86d97ec32eea7dc36d5e9c5fd9.tar.bz2
efi_loader: export efi_install_fdt()
Use a pointer to addressable memory instead of a "physical" address in the virtual address space of the sandbox to efi_install_fdt(). Export the efi_install_fdt() function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/efi_loader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 1e1fe52..4d401f6 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -35,7 +35,7 @@ static inline int guidcmp(const void *g1, const void *g2)
0x9a, 0xab, 0x3a, 0x7d, 0xbf, 0x40, 0xc4, 0x82)
/* Use internal device tree when starting UEFI application */
-#define EFI_FDT_USE_INTERNAL 0UL
+#define EFI_FDT_USE_INTERNAL NULL
/* Root node */
extern efi_handle_t efi_root;
@@ -341,6 +341,8 @@ extern struct list_head efi_register_notify_events;
/* Initialize efi execution environment */
efi_status_t efi_init_obj_list(void);
+/* Install device tree */
+efi_status_t efi_install_fdt(void *fdt);
/* Run loaded UEFI image */
efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size);
/* Initialize variable services */