summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalaji Selvanathan <[email protected]>2026-01-07 15:20:38 +0530
committerCasey Connolly <[email protected]>2026-01-14 16:25:09 +0100
commitcb07205adb5b66cc20783a86b26ea6b07a71386d (patch)
tree700180419c8858515f8e5976e5b5a13be38b8571
parent7966d35b1fee1a3f4032379b08af7440a79c763b (diff)
configs: Fix fastboot buffer address for QCS615 and QCM6490 boards
The default value of CONFIG_FASTBOOT_BUF_ADDR is 0, which causes NULL pointer dereference during fastboot commands when users dont provide "-l" option in fastboot usb command. Set it to safe and sufficiently large region in RAM of the QCS615 and QCM6490 boards, to prevent crashes. Signed-off-by: Balaji Selvanathan <[email protected]> Reviewed-by: Varadarajan Narayanan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Casey Connolly <[email protected]>
-rw-r--r--configs/qcm6490_defconfig2
-rw-r--r--configs/qcom_qcs615_defconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/qcm6490_defconfig b/configs/qcm6490_defconfig
index 54eb5dedaec..618098c8860 100644
--- a/configs/qcm6490_defconfig
+++ b/configs/qcm6490_defconfig
@@ -13,3 +13,5 @@ CONFIG_TEXT_BASE=0x9fc00000
CONFIG_REMAKE_ELF=y
CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs6490-rb3gen2"
+
+CONFIG_FASTBOOT_BUF_ADDR=0xd8800000
diff --git a/configs/qcom_qcs615_defconfig b/configs/qcom_qcs615_defconfig
index f0362aa6976..27666a8129d 100644
--- a/configs/qcom_qcs615_defconfig
+++ b/configs/qcom_qcs615_defconfig
@@ -20,3 +20,5 @@ CONFIG_REMAKE_ELF=y
# Address where U-Boot will be loaded
CONFIG_TEXT_BASE=0x9fc00000
+
+CONFIG_FASTBOOT_BUF_ADDR=0xa1600000