aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/coreboot_tables.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-27 10:55:55 -0400
committerTom Rini <trini@konsulko.com>2020-05-27 10:55:55 -0400
commit0d6a3e23225ad8c8e302044f8f720f657edda4f7 (patch)
treea007bea38f55122ef7c74169e22106c8efeaf42f /arch/x86/include/asm/coreboot_tables.h
parent0ab24c37f03a3a23982edb63d88c4f22bb8bc2c5 (diff)
parent0621b5e1eeb6bcf08b220136f09d433d880f65a5 (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86
- Use device tree for FSP-M and FSP-S configuration on Intel Apollo Lake - Add SMBIOS cbmem entry parsing for coreboot - Various clean-ups to CBFS implementation
Diffstat (limited to 'arch/x86/include/asm/coreboot_tables.h')
-rw-r--r--arch/x86/include/asm/coreboot_tables.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/include/asm/coreboot_tables.h b/arch/x86/include/asm/coreboot_tables.h
index 268284f43c..7e1576768b 100644
--- a/arch/x86/include/asm/coreboot_tables.h
+++ b/arch/x86/include/asm/coreboot_tables.h
@@ -214,6 +214,17 @@ struct cb_vbnv {
uint32_t vbnv_size;
};
+#define CB_TAG_CBMEM_ENTRY 0x0031
+#define CBMEM_ID_SMBIOS 0x534d4254
+
+struct cb_cbmem_entry {
+ uint32_t tag;
+ uint32_t size;
+ uint64_t address;
+ uint32_t entry_size;
+ uint32_t id;
+};
+
#define CB_TAG_CMOS_OPTION_TABLE 0x00c8
struct cb_cmos_option_table {