aboutsummaryrefslogtreecommitdiff
path: root/src/lib/coreboot_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/coreboot_table.c')
-rw-r--r--src/lib/coreboot_table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index afb6743876..6450b5950f 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -32,6 +32,7 @@
#include <cbfs.h>
#include <cbmem.h>
#include <bootmem.h>
+#include <spi_flash.h>
#if CONFIG_CHROMEOS
#if CONFIG_HAVE_ACPI_TABLES
#include <arch/acpi.h>
@@ -468,6 +469,11 @@ unsigned long write_coreboot_table(
/* Add RAM config if available */
lb_ram_code(head);
+#if IS_ENABLED(CONFIG_SPI_FLASH)
+ /* Add SPI flash description if available */
+ lb_spi_flash(head);
+#endif
+
add_cbmem_pointers(head);
/* Add board-specific table entries, if any. */