From 202f5975c2c852dbf658ffffa00b00752048de85 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Wed, 24 Sep 2025 13:30:11 +0200 Subject: board/qualcomm: add debug config fragment for MSM8953 Add a fragment similar to others to enable earlycon. Signed-off-by: Luca Weiss Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20250924-2025-10-misc-v1-5-7e75842ca714@fairphone.com Signed-off-by: Casey Connolly --- board/qualcomm/debug-msm8953.config | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 board/qualcomm/debug-msm8953.config (limited to 'board') diff --git a/board/qualcomm/debug-msm8953.config b/board/qualcomm/debug-msm8953.config new file mode 100644 index 00000000000..1ccd70d0d3f --- /dev/null +++ b/board/qualcomm/debug-msm8953.config @@ -0,0 +1,5 @@ +CONFIG_DEBUG_UART=y +CONFIG_DEBUG_UART_ANNOUNCE=y +CONFIG_DEBUG_UART_BASE=0x78af000 +CONFIG_DEBUG_UART_MSM=y +CONFIG_DEBUG_UART_CLOCK=7372800 -- cgit v1.3.1 From efbdf3dbb06b9230fcbfd514b1386cd144809e2a Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Wed, 17 Sep 2025 14:47:42 +0200 Subject: board/qualcomm: add debug config fragment for SM6350 Add a fragment similar to others to enable earlycon. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- board/qualcomm/debug-sm6350.config | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 board/qualcomm/debug-sm6350.config (limited to 'board') diff --git a/board/qualcomm/debug-sm6350.config b/board/qualcomm/debug-sm6350.config new file mode 100644 index 00000000000..1379ddeac93 --- /dev/null +++ b/board/qualcomm/debug-sm6350.config @@ -0,0 +1,5 @@ +CONFIG_DEBUG_UART=y +CONFIG_DEBUG_UART_ANNOUNCE=y +CONFIG_DEBUG_UART_BASE=0x98c000 +CONFIG_DEBUG_UART_MSM_GENI=y +CONFIG_DEBUG_UART_CLOCK=14745600 -- cgit v1.3.1 From ada314a7caf543390cd59a34db00fd97bba672ec Mon Sep 17 00:00:00 2001 From: Casey Connolly Date: Tue, 22 Jul 2025 17:34:56 +0200 Subject: configs: qualcomm: use fragments for debug UART The QCM6490 and QCS9100 targets always enable debug UART, but this is not really optimal for typical users. Move these debug UART options to config fragments so that they aren't enabled by default. Signed-off-by: Casey Connolly Reviewed-by: Neil Armstrong Link: https://patch.msgid.link/20250722-b4-qcom-tooling-improvements-v5-6-df143f1247fc@linaro.org Signed-off-by: Casey Connolly --- board/qualcomm/debug-qcm6490.config | 5 +++++ board/qualcomm/debug-qcs9100.config | 5 +++++ configs/qcm6490_defconfig | 6 ------ configs/qcs9100_defconfig | 6 ------ 4 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 board/qualcomm/debug-qcm6490.config create mode 100644 board/qualcomm/debug-qcs9100.config (limited to 'board') diff --git a/board/qualcomm/debug-qcm6490.config b/board/qualcomm/debug-qcm6490.config new file mode 100644 index 00000000000..9ea54758794 --- /dev/null +++ b/board/qualcomm/debug-qcm6490.config @@ -0,0 +1,5 @@ +CONFIG_DEBUG_UART=y +CONFIG_DEBUG_UART_ANNOUNCE=y +CONFIG_DEBUG_UART_BASE=0x994000 +CONFIG_DEBUG_UART_MSM_GENI=y +CONFIG_DEBUG_UART_CLOCK=14745600 diff --git a/board/qualcomm/debug-qcs9100.config b/board/qualcomm/debug-qcs9100.config new file mode 100644 index 00000000000..8ca042b440d --- /dev/null +++ b/board/qualcomm/debug-qcs9100.config @@ -0,0 +1,5 @@ +CONFIG_DEBUG_UART=y +CONFIG_DEBUG_UART_ANNOUNCE=y +CONFIG_DEBUG_UART_BASE=0xA8C000 +CONFIG_DEBUG_UART_MSM_GENI=y +CONFIG_DEBUG_UART_CLOCK=14745600 diff --git a/configs/qcm6490_defconfig b/configs/qcm6490_defconfig index 5ddc5ab3ef8..54eb5dedaec 100644 --- a/configs/qcm6490_defconfig +++ b/configs/qcm6490_defconfig @@ -8,12 +8,6 @@ # Otherwise buildman thinks this isn't an ARM platform CONFIG_ARM=y -CONFIG_DEBUG_UART=y -CONFIG_DEBUG_UART_ANNOUNCE=y -CONFIG_DEBUG_UART_BASE=0x994000 -CONFIG_DEBUG_UART_MSM_GENI=y -CONFIG_DEBUG_UART_CLOCK=14745600 - # Address where U-Boot will be loaded CONFIG_TEXT_BASE=0x9fc00000 CONFIG_REMAKE_ELF=y diff --git a/configs/qcs9100_defconfig b/configs/qcs9100_defconfig index cd48973599b..216dfa3211e 100644 --- a/configs/qcs9100_defconfig +++ b/configs/qcs9100_defconfig @@ -5,12 +5,6 @@ #include "qcom_defconfig" -CONFIG_DEBUG_UART=y -CONFIG_DEBUG_UART_ANNOUNCE=y -CONFIG_DEBUG_UART_BASE=0xA8C000 -CONFIG_DEBUG_UART_MSM_GENI=y -CONFIG_DEBUG_UART_CLOCK=14745600 - # Address where U-Boot will be loaded CONFIG_TEXT_BASE=0xaf000000 CONFIG_REMAKE_ELF=y -- cgit v1.3.1