[coreboot-gerrit] Change in coreboot[master]: drivers/spi: Remove DEBUG_SMI guard

Nico Huber (Code Review) gerrit at coreboot.org
Tue Jun 5 23:03:49 CEST 2018


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 at 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

-- 
To view, visit https://review.coreboot.org/26870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I67d2636ceb042f833c1b44888b98135d728940e0
Gerrit-Change-Number: 26870
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180605/2a721d01/attachment-0001.html>


More information about the coreboot-gerrit mailing list