From a01ed791c9d16ec07c02deb94dd9732df6eab96a Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Fri, 9 Aug 2024 01:59:34 +0200 Subject: qcom_defconfig: bump CONFIG_NR_DRAM_BANKS Some newer boards end up with a bunch of holes in the memory map due to how Qualcomm's hypervisor and ABL work. The end result is 14+ memory regions. Bump CONFIG_NR_DRAM_BANKS to 24 so we can handle these and any future expansion easily. Yes, this is ridiculous, but there is no other way. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index edbb624baf0..3488edd07d4 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -3,6 +3,7 @@ CONFIG_SKIP_LOWLEVEL_INIT=y CONFIG_POSITION_INDEPENDENT=y CONFIG_SYS_INIT_SP_BSS_OFFSET=1572864 CONFIG_ARCH_SNAPDRAGON=y +CONFIG_NR_DRAM_BANKS=24 CONFIG_DEFAULT_DEVICE_TREE="qcom/sdm845-db845c" CONFIG_SYS_LOAD_ADDR=0xA0000000 CONFIG_BUTTON_CMD=y -- cgit v1.3.1 From 3176b5a2b21db3fe2ba7071bb35b309d29ff3d22 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Wed, 21 Aug 2024 15:41:50 +0200 Subject: qcom_defconfig: enable SC7280 clocks Enable clocks on SC7280 Reviewed-by: Neil Armstrong Reviewed-by: Simon Glass Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 3488edd07d4..2a2253f766d 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -45,6 +45,7 @@ CONFIG_CLK_QCOM_APQ8016=y CONFIG_CLK_QCOM_APQ8096=y CONFIG_CLK_QCOM_QCM2290=y CONFIG_CLK_QCOM_QCS404=y +CONFIG_CLK_QCOM_SC7280=y CONFIG_CLK_QCOM_SDM845=y CONFIG_CLK_QCOM_SM6115=y CONFIG_CLK_QCOM_SM8250=y -- cgit v1.3.1 From adc310c7afc2d4c9cf1a1498624fce6a09c924f3 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Wed, 21 Aug 2024 15:41:51 +0200 Subject: configs: add qcm6490_defconfig Introduce a defconfig for the RB3 Gen 2 and other QCM6490 boards with a dedicated uefi partition. These can replace EDK2 entirely with U-Boot. Reviewed-by: Simon Glass Signed-off-by: Caleb Connolly --- MAINTAINERS | 1 + configs/qcm6490_defconfig | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 configs/qcm6490_defconfig (limited to 'configs') diff --git a/MAINTAINERS b/MAINTAINERS index daaf0345d0e..7ab39d91a55 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -617,6 +617,7 @@ R: Sumit Garg L: u-boot-qcom@groups.io S: Maintained T: git https://source.denx.de/u-boot/custodians/u-boot-snapdragon.git +F: configs/qcm6490_defconfig F: drivers/*/*/pm8???-* F: drivers/gpio/msm_gpio.c F: drivers/mmc/msm_sdhci.c diff --git a/configs/qcm6490_defconfig b/configs/qcm6490_defconfig new file mode 100644 index 00000000000..5ddc5ab3ef8 --- /dev/null +++ b/configs/qcm6490_defconfig @@ -0,0 +1,21 @@ +# Configuration for building U-Boot to be flashed +# to the uefi partition of QCM6490 dev boards with +# the "Linux Embedded" partition layout (which have +# a dedicated "uefi" partition for edk2/U-Boot) + +#include "qcom_defconfig" + +# 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 + +CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs6490-rb3gen2" -- cgit v1.3.1