[v2,4/4] efi_loader: export efi_install_fdt()
diff mbox series

Message ID 20191208001742.60076-5-xypron.glpk@gmx.de
State Superseded, archived
Delegated to: Heinrich Schuchardt
Headers show
Series
  • efi_loader: prepare for FIT images
Related show

Commit Message

Heinrich Schuchardt Dec. 8, 2019, 12:17 a.m. UTC
Export the efi_install_fdt() function.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 cmd/bootefi.c        | 2 +-
 include/efi_loader.h | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

--
2.24.0

Patch
diff mbox series

diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 15b4ff9515..9d9019c269 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -212,7 +212,7 @@  static void *get_config_table(const efi_guid_t *guid)
  *		the environment variable fdtcontroladdr
  * Return:	status code
  */
-static efi_status_t efi_install_fdt(uintptr_t fdt_addr)
+efi_status_t efi_install_fdt(uintptr_t fdt_addr)
 {
 	/*
 	 * The EBBR spec requires that we have either an FDT or an ACPI table
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 1e1fe52bc0..ca50953272 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -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(uintptr_t fdt_addr);
 /* Run loaded UEFI image */
 efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size);
 /* Initialize variable services */