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>
This commit is contained in:
parent
b855f7e402
commit
653d5d3b12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue