summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/sc7280/Kconfig7
-rw-r--r--src/soc/qualcomm/sc7280/Makefile.inc6
2 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sc7280/Kconfig b/src/soc/qualcomm/sc7280/Kconfig
index a65a3eea37..24d5c207b4 100644
--- a/src/soc/qualcomm/sc7280/Kconfig
+++ b/src/soc/qualcomm/sc7280/Kconfig
@@ -14,6 +14,7 @@ config SOC_QUALCOMM_SC7280
select CACHE_MRC_SETTINGS
select HAS_RECOVERY_MRC_CACHE
select COMPRESS_BOOTBLOCK
+ select HAVE_UART_SPECIAL
if SOC_QUALCOMM_SC7280
@@ -36,4 +37,10 @@ config BOOT_DEVICE_SPI_FLASH_BUS
int
default 16
+config UART_FOR_CONSOLE
+ int
+ default 5
+ help
+ Select the QUP instance to be used for UART console output.
+
endif
diff --git a/src/soc/qualcomm/sc7280/Makefile.inc b/src/soc/qualcomm/sc7280/Makefile.inc
index 420e0cad60..9214152964 100644
--- a/src/soc/qualcomm/sc7280/Makefile.inc
+++ b/src/soc/qualcomm/sc7280/Makefile.inc
@@ -20,15 +20,21 @@ all-y += ../common/qupv3_spi.c
bootblock-y += bootblock.c
bootblock-y += mmu.c
bootblock-$(CONFIG_DRIVERS_UART) += ../common/uart_bitbang.c
+
+################################################################################
+verstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
+
################################################################################
romstage-y += cbmem.c
romstage-y += ../common/qclib.c
romstage-y += ../common/mmu.c
romstage-y += mmu.c
+romstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################
ramstage-y += soc.c
ramstage-y += cbmem.c
+ramstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################