Nico Huber has uploaded this change for review. ( https://review.coreboot.org/26870
Change subject: drivers/spi: Remove DEBUG_SMI guard ......................................................................
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 --- M src/drivers/spi/Makefile.inc 1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/26870/1
diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc index edea392..cd404f4 100644 --- a/src/drivers/spi/Makefile.inc +++ b/src/drivers/spi/Makefile.inc @@ -4,7 +4,7 @@
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 @@ 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