[U-Boot] [PATCH 1/3] mmc: sdhci: increase the timeout value for data transfer
Rommel Custodio
sessyargc+uboot at gmail.com
Fri Sep 21 11:48:17 CEST 2012
Jaehoon Chung <jh80.chung <at> samsung.com> writes:
>
> Timeout value is tunable.
> When run read/write operation, sometime returned the timeout error.
> Because the timeout value is too short.
Hello,
I think it is better to fine tune CONFIG_SYS_MMC_MAX_BLK_COUNT.
This gets assigned to mmc->b_max, unless you specifically set
mmc->b_max value during mmc_register().
b_max is important since when you adjust b_max properly,
mmc_bread() and mmc_bwrite() will properly partition the
read/write operation (in b_max blocks) so that the timeout
does not occur.
All the best,
Rommel
(replying via gmane since i just joined the list)
More information about the U-Boot
mailing list