
21 Sep
2012
21 Sep
'12
11:48 a.m.
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)