aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/coreboot_tables.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2019-09-27 00:02:25 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-10-02 11:26:53 +0000
commit3d4923d85ab07f8ea2b30018763c6bef269e5796 (patch)
treeed919f5c64bfa6abf2059f31ea320e195d230051 /payloads/libpayload/include/coreboot_tables.h
parent86cb421df68f8c22b3cc27fb9ef45a6633724bb6 (diff)
libpayload: Add fmap_cache to sysinfo_t
Now that FMAP is cached in CBMEM and its pointer is added to coreboot table for quick lookup, this change adds a new member "fmap_cache" to sysinfo_t that can be used by payloads to get to FMAP cache. BUG=b:141723751 Change-Id: If894c20c2de89a9d8564561bc7780c86f3f4135a Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35640 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'payloads/libpayload/include/coreboot_tables.h')
-rw-r--r--payloads/libpayload/include/coreboot_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/coreboot_tables.h b/payloads/libpayload/include/coreboot_tables.h
index bf2cf022d1..c24d6acfd6 100644
--- a/payloads/libpayload/include/coreboot_tables.h
+++ b/payloads/libpayload/include/coreboot_tables.h
@@ -78,6 +78,7 @@ enum {
CB_TAG_VBOOT_WORKBUF = 0x0034,
CB_TAG_MMC_INFO = 0x0035,
CB_TAG_TCPA_LOG = 0x0036,
+ CB_TAG_FMAP = 0x0037,
CB_TAG_CMOS_OPTION_TABLE = 0x00c8,
CB_TAG_OPTION = 0x00c9,
CB_TAG_OPTION_ENUM = 0x00ca,