]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: seperate block number into small parts for multi-write cmd
authorLei Wen <leiwen@marvell.com>
Thu, 14 Oct 2010 05:38:11 +0000 (13:38 +0800)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 18:39:33 +0000 (20:39 +0200)
commit0158126e252b6860e7a7d8408d0872278a3483cf
treecdaa399b72e1c716df9963b3b3564243abf5a68a
parent73bb4c72407aca3c2f461708bb872a23f2b1bf5a
mmc: seperate block number into small parts for multi-write cmd

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@marvell.com>
Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
drivers/mmc/mmc.c