summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-08-18 23:23:24 (GMT)
committerAlexander Graf <agraf@suse.de>2016-10-19 07:01:51 (GMT)
commit488bf12d842e51b8d596f104bc9bd9aa4d0501b6 (patch)
tree90942ec818c5115369f0e03977555accca1f6ca9 /include/efi_loader.h
parent4b6dddc294a58fd9010926719e5c907beebf9b4d (diff)
downloadu-boot-fsl-qoriq-488bf12d842e51b8d596f104bc9bd9aa4d0501b6.tar.xz
efi_loader: Expose efi_install_configuration_table
We want to be able to add configuration table entries from our own code as well as from EFI payload code. Export the boot service function internally too, so that we can reuse it. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 1e4eb46..56b2b47 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -135,6 +135,8 @@ uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type,
bool overlap_only_ram);
/* Called by board init to initialize the EFI memory map */
int efi_memory_init(void);
+/* Adds new or overrides configuration table entry to the system table */
+efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table);
#ifdef CONFIG_EFI_LOADER_BOUNCE_BUFFER
extern void *efi_bounce_buffer;