From: Rommel Custodio Date: Fri, 21 Sep 2012 09:48:17 +0000 (UTC) Subject: [U-Boot] =?utf-8?q?=5BPATCH_1/3=5D_mmc=3A_sdhci=3A_increase_the_t?= =?utf-8?q?imeout_value_for=09data_transfer?= References: <505C09DA.8030102@samsung.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jaehoon Chung 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)