diff options
author | Alexander Graf <agraf@suse.de> | 2016-08-19 01:23:24 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-19 09:01:51 +0200 |
commit | 488bf12d842e51b8d596f104bc9bd9aa4d0501b6 (patch) | |
tree | 90942ec818c5115369f0e03977555accca1f6ca9 /include/efi_loader.h | |
parent | 4b6dddc294a58fd9010926719e5c907beebf9b4d (diff) | |
download | u-boot-488bf12d842e51b8d596f104bc9bd9aa4d0501b6.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 1e4eb46a9c..56b2b4719a 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; |