]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coreboot: Record the position of the SMBIOS tables
authorSimon Glass <sjg@chromium.org>
Wed, 20 Sep 2023 03:00:17 +0000 (21:00 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:05:40 +0000 (06:05 +0800)
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>
arch/x86/lib/coreboot/cb_sysinfo.c

index dfbc80c430e1c4c6e5a0590e467f23df806e4083..f7fd9ea5bcbba53067a010bf8855f57cb0351576 100644 (file)
@@ -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;