From b6b1b237eba2d1b817185a32b8bb3f242f3db2b5 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 22 Jun 2017 15:43:49 -0400 Subject: console/flashconsole: Enable support for postcar If FSP 2.0 is used, then postcar stage is used and the flashconsole as well as spi drivers needed to be added. Change-Id: I46d720a9d1fe18a95c9407d08dae1eb70ae6720e Signed-off-by: Youness Alaoui Reviewed-on: https://review.coreboot.org/21959 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/drivers/spi/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/spi') diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc index c594d4e74c..f8cff5afdc 100644 --- a/src/drivers/spi/Makefile.inc +++ b/src/drivers/spi/Makefile.inc @@ -11,6 +11,7 @@ ifeq ($(CONFIG_CONSOLE_SPI_FLASH),y) bootblock-y += flashconsole.c romstage-y += flashconsole.c ramstage-y += flashconsole.c +postcar-y += flashconsole.c smm-$(CONFIG_DEBUG_SMI) += flashconsole.c endif @@ -98,3 +99,7 @@ smm-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c smm-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c smm-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c endif + +postcar-y += spi-generic.c +postcar-$(CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY) += boot_device_rw_nommap.c +postcar-$(CONFIG_SPI_FLASH) += spi_flash.c -- cgit v1.2.3