summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-08-18 23:23:29 (GMT)
committerAlexander Graf <agraf@suse.de>2016-10-19 07:01:52 (GMT)
commite663b350f1699312281ddd1439dda6b5fc86598d (patch)
treeed2c0109e34f1dcc66861c8e8d06abb94c27c4aa /include/efi_loader.h
parent96476206c54ee9c94e5994d96f52ec9d2063967a (diff)
downloadu-boot-e663b350f1699312281ddd1439dda6b5fc86598d.tar.xz
smbios: Expose in efi_loader as table
We can pass SMBIOS easily as EFI configuration table to an EFI payload. This patch adds enablement for that case. While at it, we also enable SMBIOS generation for ARM systems, since they support EFI_LOADER. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> 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 56b2b47..1bc3b33 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -85,6 +85,8 @@ int efi_disk_register(void);
int efi_gop_register(void);
/* Called by bootefi to make the network interface available */
int efi_net_register(void **handle);
+/* Called by bootefi to make SMBIOS tables available */
+void efi_smbios_register(void);
/* Called by networking code to memorize the dhcp ack package */
void efi_net_set_dhcp_ack(void *pkt, int len);