[U-Boot] [PATCH V4] mmc: seperate block number into small parts for multi-write cmd

Steve Sakoman sakoman at gmail.com
Wed Oct 27 21:59:54 CEST 2010


On Wed, Oct 27, 2010 at 11:39 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Lei Wen,
>
> In message <1287034691-26278-1-git-send-email-leiwen at marvell.com> you wrote:
>> Constraint the mmc framework to only send no more than 65535
>> blocks in one go during the multi-write command. This constraint
>> comes due to the limitation of 16bit width block counter register
>> at some hardware.
>>
>> Signed-off-by: Lei Wen <leiwen at marvell.com>
>> Cc: Reinhard Meyer <u-boot at emk-elektronik.de>
>> ---
>> V4: clean patch
>> V3: return to the V1 solution that keep the 65535 constraint,
>>     but cut the 512KiB dma limitation
>> V2: add additional members in mmc structure
>>
>>  drivers/mmc/mmc.c |   54 ++++++++++++++++++++++++++++++++++++++--------------
>>  1 files changed, 39 insertions(+), 15 deletions(-)
>
> Applied, thanks.

Thanks Wolfgang!

I'll get to work on a revised multi-block read implementation.  A 4x
speedup in large MMC reads is worth the effort!

Steve


More information about the U-Boot mailing list