]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: add qcm6490_defconfig
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 21 Aug 2024 13:41:51 +0000 (15:41 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 6 Sep 2024 09:59:51 +0000 (11:59 +0200)
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 <sjg@chromium.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
MAINTAINERS
configs/qcm6490_defconfig [new file with mode: 0644]

index daaf0345d0e8c2cfe47720928b306b8cd5cecf94..7ab39d91a5531d8de711d886084584883ed86427 100644 (file)
@@ -617,6 +617,7 @@ R:  Sumit Garg <sumit.garg@linaro.org>
 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 (file)
index 0000000..5ddc5ab
--- /dev/null
@@ -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"