summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-06-05 21:56:30 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-11 08:42:17 +0000
commit653d5d3b12bcf09f974bc9d9f4abd6f1627c2e2c (patch)
tree0b1e57cb4141718cdfe46eba77e03df73c167d4a
parentb855f7e402bb591f91d4eee156a6fb1037d5783c (diff)
downloadcoreboot-653d5d3b12bcf09f974bc9d9f4abd6f1627c2e2c.tar.xz
drivers/spi: Remove DEBUG_SMI guard
Let the linker take care of it. Change-Id: I67d2636ceb042f833c1b44888b98135d728940e0 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/26870 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/drivers/spi/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc
index edea392db1..cd404f489e 100644
--- a/src/drivers/spi/Makefile.inc
+++ b/src/drivers/spi/Makefile.inc
@@ -4,7 +4,7 @@ subdirs-y += tpm
ifeq ($(CONFIG_SPI_CONSOLE),y)
ramstage-y += spiconsole.c
-smm-$(CONFIG_DEBUG_SMI) += spiconsole.c
+smm-y += spiconsole.c
endif
ifeq ($(CONFIG_CONSOLE_SPI_FLASH),y)
@@ -13,8 +13,7 @@ verstage-y += flashconsole.c
romstage-y += flashconsole.c
ramstage-y += flashconsole.c
postcar-y += flashconsole.c
-smm-$(CONFIG_DEBUG_SMI) += flashconsole.c
-
+smm-y += flashconsole.c
endif
bootblock-y += spi-generic.c