Re: [U-Boot] [PATCH] powerpc/esdhc: Update esdhc command execution process

2013-11-07 Thread Zhang Haijun
Abandon this, see [PATCH 7/7 V2] powerpc/esdhc: Update esdhc command execution process 于 2013/11/8 10:06, Haijun Zhang 写道: > The max timeout value esdhc host can accept was about 2.69 sec > At 50 Mhz SD_CLK period, the max busy timeout > value = 2^27 * SD_CLK period ~= 2.69 sec. > > In case eras

[U-Boot] [PATCH] powerpc/esdhc: Update esdhc command execution process

2013-11-07 Thread Haijun Zhang
The max timeout value esdhc host can accept was about 2.69 sec At 50 Mhz SD_CLK period, the max busy timeout value = 2^27 * SD_CLK period ~= 2.69 sec. In case erase command CMD38 timeout is caculate by mult * 300ms * num(unit by erase group), so the time one erase group need should be more than 3