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

Sumit Garg sumit.garg at kernel.org
Fri May 1 08:58:35 CEST 2026


On Tue, Apr 21, 2026 at 06:30:10PM +0530, Balaji Selvanathan wrote:
> 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(+)

Reviewed-by: Sumit Garg <sumit.garg at oss.qualcomm.com>

-Sumit

> 
> 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