From 34d6bc878480627a71654106a5c8b5e5a73bb980 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 11 Apr 2025 03:13:04 +0000 Subject: [PATCH] soc/qualcomm/x1p42100: Set correct Kconfig defaults for peripherals Update the default Kconfig values for the `soc/qualcomm/x1p42100` to specify the correct hardware instances/buses used for various peripherals as per datasheet for bluey (dated 04/15). Changes: - Boot SPI flash bus set to 24. - Console UART instance set to 21. - Select FIXED_UART_FOR_CONSOLE Kconfig as UART is not really selectable due to GPIO Function 0 (bit-bang mode) default configuration. Additionally, remove previous used TODO placeholders. BUG=b:404985109 TEST=Successfully built google/bluey with the Qualcomm x1p42100 SoC. Change-Id: Ia053edb731f7e08c98ffa3fe273ddd1c97b651bb Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/87272 Reviewed-by: Julius Werner Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/qualcomm/x1p42100/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/qualcomm/x1p42100/Kconfig b/src/soc/qualcomm/x1p42100/Kconfig index 728f81e7c1..52f270b6d9 100644 --- a/src/soc/qualcomm/x1p42100/Kconfig +++ b/src/soc/qualcomm/x1p42100/Kconfig @@ -12,6 +12,7 @@ config SOC_QUALCOMM_X1P42100 select CACHE_MRC_SETTINGS select COMMONLIB_STORAGE select COMMONLIB_STORAGE_SD + select FIXED_UART_FOR_CONSOLE select GENERIC_GPIO_LIB select GENERIC_UDELAY select HAS_RECOVERY_MRC_CACHE @@ -37,11 +38,11 @@ config VBOOT config BOOT_DEVICE_SPI_FLASH_BUS int - default 0 # TODO + default 24 config UART_FOR_CONSOLE int - default 0 # TODO + default 21 help Select the QUP instance to be used for UART console output.