[U-Boot] [PATCH RFC] mmc: Add multi-block read support to the generic mmc driver

Minkyu Kang promsoft at gmail.com
Tue Nov 16 06:32:33 CET 2010


Dear Steve Sakoman,

On 29 October 2010 02:17, Steve Sakoman <steve at sakoman.com> wrote:
> From: Alagu Sankar <alagusankar at embwise.com>
>
> This patch adds multi-block read support for the generic MMC
> driver. Large reads are broken into chunks of 65535 blocks to
> ensure that the code works with controllers having a 16 bit block counter.
>
> This patch results in a significant performance improvement.
>
> Time to read a 45 MB file went from 36 seconds to 9 seconds on Overo
>
> Signed-off-by: Steve Sakoman <steve.sakoman at linaro.org>
> Tested-by: Steve Sakoman <steve.sakoman at linaro.org>
> ---
>
> This is based on Alagu's original patch, but heavily modified to reflect
> recent changes in the driver and to remove the CONFIG option as
> requested in the earlier discussion of the patch:
>
> http://www.mail-archive.com/u-boot@lists.denx.de/msg32319.html
>
> It also incorporates feedback on my previously submitted RFC multi-block
> read patch. I am leaving authorship with Alagu since he did the original
> work, but will leave it up to him to add his "Signed-off-by"
> ---
>

Tested at s5p board.
It works well and shows good performance.

Tested-by: Minkyu Kang <mk7.kang at samsung.com>

Thanks!
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list