summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/coreboot_tables.h7
-rw-r--r--payloads/libpayload/include/sysinfo.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/payloads/libpayload/include/coreboot_tables.h b/payloads/libpayload/include/coreboot_tables.h
index 1d38c19a80..a8fd5cd321 100644
--- a/payloads/libpayload/include/coreboot_tables.h
+++ b/payloads/libpayload/include/coreboot_tables.h
@@ -84,6 +84,7 @@ enum {
CB_TAG_ACPI_CNVS = 0x0041,
CB_TAG_TYPE_C_INFO = 0x0042,
CB_TAG_ACPI_RSDP = 0x0043,
+ CB_TAG_PCIE = 0x0044,
CB_TAG_CMOS_OPTION_TABLE = 0x00c8,
CB_TAG_OPTION = 0x00c9,
CB_TAG_OPTION_ENUM = 0x00ca,
@@ -265,6 +266,12 @@ struct cb_gpios {
struct cb_gpio gpios[0];
};
+struct cb_pcie {
+ uint32_t tag;
+ uint32_t size;
+ cb_uint64_t ctrl_base; /* Base address of PCIe controller */
+};
+
struct lb_range {
uint32_t tag;
uint32_t size;
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index c8c10524f4..12d8a13e3f 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -84,6 +84,7 @@ struct sysinfo_t {
uintptr_t linker;
uintptr_t assembler;
uintptr_t mem_chip_base;
+ uintptr_t pcie_ctrl_base; /* Base address of PCIe controller */
uintptr_t cb_version;