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.

Signed-off-by: Balaji Selvanathan <[email protected]>
---
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(-)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index c52f619850d..51b33966228 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -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,
-- 
Balaji Selvanathan <[email protected]>

Reply via email to