summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/qcs405/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/qcs405/Makefile.inc')
-rw-r--r--src/soc/qualcomm/qcs405/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc
index 4df5246e3c..c64e5bcf58 100644
--- a/src/soc/qualcomm/qcs405/Makefile.inc
+++ b/src/soc/qualcomm/qcs405/Makefile.inc
@@ -8,12 +8,14 @@ bootblock-y += spi.c
bootblock-y += mmu.c
bootblock-y += gpio.c
bootblock-y += clock.c
+bootblock-$(CONFIG_DRIVERS_UART) += uart.c
################################################################################
verstage-y += timer.c
verstage-y += spi.c
verstage-y += gpio.c
verstage-y += clock.c
+verstage-$(CONFIG_DRIVERS_UART) += uart.c
################################################################################
romstage-y += timer.c
@@ -22,6 +24,7 @@ romstage-y += cbmem.c
romstage-y += gpio.c
romstage-y += clock.c
romstage-y += usb.c
+romstage-$(CONFIG_DRIVERS_UART) += uart.c
################################################################################
ramstage-y += soc.c
@@ -31,6 +34,7 @@ ramstage-y += cbmem.c
ramstage-y += gpio.c
ramstage-y += clock.c
ramstage-y += usb.c
+ramstage-$(CONFIG_DRIVERS_UART) += uart.c
################################################################################