aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-19 21:00:17 -0600
committerBin Meng <bmeng@tinylab.org>2023-09-22 06:05:40 +0800
commit935433093575fd059177ec4a3cd62ef7bc3e0e67 (patch)
treeaebbe41d5975912cfd477c38a4305154698b42b5 /arch/x86/lib
parent53fab13a7b11630aeb731c8ef7553cf773311a9f (diff)
downloadu-boot-935433093575fd059177ec4a3cd62ef7bc3e0e67.zip
u-boot-935433093575fd059177ec4a3cd62ef7bc3e0e67.tar.gz
u-boot-935433093575fd059177ec4a3cd62ef7bc3e0e67.tar.bz2
x86: coreboot: Record the position of the SMBIOS tables
Make a note of where coreboot installed the SMBIOS tables so that we can pass this on to EFI. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/coreboot/cb_sysinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/coreboot/cb_sysinfo.c b/arch/x86/lib/coreboot/cb_sysinfo.c
index dfbc80c..f7fd9ea 100644
--- a/arch/x86/lib/coreboot/cb_sysinfo.c
+++ b/arch/x86/lib/coreboot/cb_sysinfo.c
@@ -471,6 +471,7 @@ int get_coreboot_info(struct sysinfo_t *info)
return -ENOENT;
gd->arch.coreboot_table = addr;
gd_set_acpi_start(map_to_sysmem(info->rsdp));
+ gd_set_smbios_start(info->smbios_start);
gd->flags |= GD_FLG_SKIP_LL_INIT;
return 0;