summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2017-12-12 17:26:00 -0800
committerDuncan Laurie <dlaurie@chromium.org>2017-12-14 22:51:12 +0000
commit6827cb38578ad508e8abdd73cf3eb2306b6effad (patch)
treef4734bc1a9108c923e14971d1d79e0a30f84ae17
parent466d8ce18e71eb05f2e858c865b656367c000513 (diff)
drivers/spi: Enable flashconsole in verstage
Enable the flashconsole driver in verstage so it can be used with VBOOT enabled. This was tested on a VBOOT enabled system using flashconsole to store the boot log. Change-Id: Icd8a82dc962ece85b9fb3d2f5654369e821922eb Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/22855 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/drivers/spi/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc
index f8cff5afdc..3f68541448 100644
--- a/src/drivers/spi/Makefile.inc
+++ b/src/drivers/spi/Makefile.inc
@@ -9,6 +9,7 @@ endif
ifeq ($(CONFIG_CONSOLE_SPI_FLASH),y)
bootblock-y += flashconsole.c
+verstage-y += flashconsole.c
romstage-y += flashconsole.c
ramstage-y += flashconsole.c
postcar-y += flashconsole.c