diff options
Diffstat (limited to 'src/soc/broadcom/cygnus/Makefile.inc')
-rw-r--r-- | src/soc/broadcom/cygnus/Makefile.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/soc/broadcom/cygnus/Makefile.inc b/src/soc/broadcom/cygnus/Makefile.inc index dea6cef2bc..b7012ea8a6 100644 --- a/src/soc/broadcom/cygnus/Makefile.inc +++ b/src/soc/broadcom/cygnus/Makefile.inc @@ -1,7 +1,7 @@ ## ## This file is part of the coreboot project. ## -## Copyright 2014 Google Inc. +## Copyright 2015 Google Inc. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -22,13 +22,15 @@ bootblock-y += cbmem.c bootblock-y += i2c.c bootblock-y += timer.c bootblock-$(CONFIG_SPI_FLASH) += spi.c -bootblock-$(CONFIG_CONSOLE_SERIAL) += uart.c +ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y) +bootblock-$(CONFIG_DRIVERS_UART) += ns16550.c +endif verstage-y += verstage.c verstage-y += i2c.c verstage-y += timer.c verstage-$(CONFIG_SPI_FLASH) += spi.c -verstage-$(CONFIG_CONSOLE_SERIAL) += uart.c +verstage-$(CONFIG_DRIVERS_UART) += ns16550.c romstage-y += cbmem.c romstage-y += i2c.c @@ -36,13 +38,13 @@ romstage-y += timer.c romstage-y += romstage.c romstage-y += sdram.c romstage-$(CONFIG_SPI_FLASH) += spi.c -romstage-$(CONFIG_CONSOLE_SERIAL) += uart.c +romstage-$(CONFIG_DRIVERS_UART) += ns16550.c ramstage-y += cbmem.c ramstage-y += i2c.c ramstage-y += timer.c ramstage-$(CONFIG_SPI_FLASH) += spi.c -ramstage-$(CONFIG_CONSOLE_SERIAL) += uart.c +ramstage-$(CONFIG_DRIVERS_UART) += ns16550.c CPPFLAGS_common += -Isrc/soc/broadcom/cygnus/include/ |