Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75765?usp=email )
Change subject: lib/coreboot_table.c: Add a pointer to SMBIOS in coreboot tables ......................................................................
lib/coreboot_table.c: Add a pointer to SMBIOS in coreboot tables
This comes in handy on non-x86 architectures to tell where SMBIOS resides.
Signed-off-by: Arthur Heymans arthur@aheymans.xyz Change-Id: I796dd426feefb0785c0222fb4fc34dae7b70982c --- M src/commonlib/include/commonlib/coreboot_tables.h M src/lib/coreboot_table.c 2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/75765/1
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h index e646b8b..b4bdbd4 100644 --- a/src/commonlib/include/commonlib/coreboot_tables.h +++ b/src/commonlib/include/commonlib/coreboot_tables.h @@ -87,6 +87,7 @@ LB_TAG_TYPE_C_INFO = 0x0042, LB_TAG_ACPI_RSDP = 0x0043, LB_TAG_PCIE = 0x0044, + LB_TAG_SMBIOS = 0x0045, /* The following options are CMOS-related */ LB_TAG_CMOS_OPTION_TABLE = 0x00c8, LB_TAG_OPTION = 0x00c9, diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c index bee389d..6da3498 100644 --- a/src/lib/coreboot_table.c +++ b/src/lib/coreboot_table.c @@ -272,6 +272,7 @@ {CBMEM_ID_FMAP, LB_TAG_FMAP}, {CBMEM_ID_VBOOT_WORKBUF, LB_TAG_VBOOT_WORKBUF}, {CBMEM_ID_TYPE_C_INFO, LB_TAG_TYPE_C_INFO}, + {CBMEM_ID_SMBIOS, LB_TAG_SMBIOS}, }; int i;