[PATCH v2 3/3] configs: qcom_defconfig: Limit MMC transfer size to prevent controller timeout

Balaji Selvanathan balaji.selvanathan at oss.qualcomm.com
Tue Apr 21 15:00:10 CEST 2026


Set CONFIG_SYS_MMC_MAX_BLK_COUNT to 16384 blocks to limit the
maximum transfer size per operation. This prevents controller timeouts.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
Changes in v2:
- Set CONFIG_SYS_MMC_MAX_BLK_COUNT to deal with controller timeout.
---
 configs/qcom_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index baad5f09455..315107fd279 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -96,6 +96,7 @@ CONFIG_MISC=y
 CONFIG_NVMEM=y
 CONFIG_QCOM_GENI=y
 CONFIG_I2C_EEPROM=y
+CONFIG_SYS_MMC_MAX_BLK_COUNT=16384
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ADMA=y
 CONFIG_MMC_SDHCI_MSM=y

-- 
2.34.1



More information about the U-Boot mailing list