sc7280: Enable UART driver

Enable common Uart driver on sc7280

BUG=b:182963902
TEST=Validated on qualcomm sc7280 development board

Signed-off-by: Rajesh Patil <rajpat@codeaurora.org>
Change-Id: I015e21081391bfe85edf667685bf117401a9ec00
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55963
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Rajesh Patil 2021-06-18 09:16:01 +05:30 committed by Shelley Chen
parent acd2218bc3
commit c003ea6d2b
2 changed files with 13 additions and 0 deletions

View File

@ -14,6 +14,7 @@ config SOC_QUALCOMM_SC7280
select CACHE_MRC_SETTINGS select CACHE_MRC_SETTINGS
select HAS_RECOVERY_MRC_CACHE select HAS_RECOVERY_MRC_CACHE
select COMPRESS_BOOTBLOCK select COMPRESS_BOOTBLOCK
select HAVE_UART_SPECIAL
if SOC_QUALCOMM_SC7280 if SOC_QUALCOMM_SC7280
@ -36,4 +37,10 @@ config BOOT_DEVICE_SPI_FLASH_BUS
int int
default 16 default 16
config UART_FOR_CONSOLE
int
default 5
help
Select the QUP instance to be used for UART console output.
endif endif

View File

@ -20,15 +20,21 @@ all-y += ../common/qupv3_spi.c
bootblock-y += bootblock.c bootblock-y += bootblock.c
bootblock-y += mmu.c bootblock-y += mmu.c
bootblock-$(CONFIG_DRIVERS_UART) += ../common/uart_bitbang.c bootblock-$(CONFIG_DRIVERS_UART) += ../common/uart_bitbang.c
################################################################################
verstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################ ################################################################################
romstage-y += cbmem.c romstage-y += cbmem.c
romstage-y += ../common/qclib.c romstage-y += ../common/qclib.c
romstage-y += ../common/mmu.c romstage-y += ../common/mmu.c
romstage-y += mmu.c romstage-y += mmu.c
romstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################ ################################################################################
ramstage-y += soc.c ramstage-y += soc.c
ramstage-y += cbmem.c ramstage-y += cbmem.c
ramstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################ ################################################################################