From 676ef5b38ba44623ce007f120cae1ba3f4572e8f Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Mon, 7 Aug 2023 19:50:43 +0200 Subject: libpayload: Add parsing of SMBIOS address Signed-off-by: Maximilian Brune Change-Id: Ie4032048f5f53b25c46f00b3b48eb5f986a5d0b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77045 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- payloads/libpayload/libc/coreboot.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'payloads/libpayload/libc') diff --git a/payloads/libpayload/libc/coreboot.c b/payloads/libpayload/libc/coreboot.c index bcc9530733..3c49484064 100644 --- a/payloads/libpayload/libc/coreboot.c +++ b/payloads/libpayload/libc/coreboot.c @@ -224,6 +224,9 @@ static void cb_parse_cbmem_entry(void *ptr, struct sysinfo_t *info) case CBMEM_ID_ACPI_GNVS: info->acpi_gnvs = cbmem_entry->address; break; + case CBMEM_ID_SMBIOS: + info->smbios = cbmem_entry->address; + break; case CBMEM_ID_CBFS_RO_MCACHE: info->cbfs_ro_mcache_offset = cbmem_entry->address; info->cbfs_ro_mcache_size = cbmem_entry->entry_size; -- cgit v1.2.3