From 653d5d3b12bcf09f974bc9d9f4abd6f1627c2e2c Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 5 Jun 2018 21:56:30 +0200 Subject: drivers/spi: Remove DEBUG_SMI guard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let the linker take care of it. Change-Id: I67d2636ceb042f833c1b44888b98135d728940e0 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/26870 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Kyösti Mälkki --- src/drivers/spi/Makefile.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/drivers') 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 -- cgit v1.2.3