Skip to contentSkip to conversation

qcom_defconfig: Switch Qualcomm fastboot flash from MMC to block

PATCH New Balaji Selvanathan via U-Boot 1 participant 1 message Jul 22

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qcom_defconfig: Switch Qualcomm fastboot flash from MMC to block

Since most of the Dragonwing boards have UFS as the default storage, switch the default fastboot flash target in qcom_defconfig itself from MMC to generic block device (SCSI interface, device ID 4). Boards that use eMMC as their default storage can override this in their board-specific defconfigs.

---
Changes in v2:
- Updated commit description.
- Link to v1: https://lore.kernel.org/u-boot/[email protected]/

---
 configs/qcom_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
configs/qcom_defconfig +3 -2
index c52f619850d..51b33966228 100644
@@ -81,8 +81,9 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x200000
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x0
 CONFIG_FASTBOOT_FLASH=y
-CONFIG_FASTBOOT_FLASH_MMC_DEV=0
-CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
+CONFIG_FASTBOOT_FLASH_BLOCK=y
+CONFIG_FASTBOOT_FLASH_BLOCK_INTERFACE_NAME="scsi"
+CONFIG_FASTBOOT_FLASH_BLOCK_DEVICE_ID=4
 CONFIG_MSM_GPIO=y
 CONFIG_QCOM_PMIC_GPIO=y
 CONFIG_DM_I2C=y

---
base-commit: 1b8283bd3220e898d338fb98929f0b06ed63da84
change-id: 20260722-fb-d27f500a3a0d

Best regards,

Signature · 1 line
Balaji Selvanathan <[email protected]>