summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHaijun Zhang <haijun.zhang@freescale.com>2013-03-19 09:53:28 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-03-27 23:30:11 (GMT)
commita11daefdf9408f331cff193a98400b36dad56ba0 (patch)
tree09b7df2ca98c8b507f5f82daddf0b27cf90c0e14 /Documentation
parent5ec0b35b09e7e5748d473fbba6169ab5bc92e61d (diff)
downloadlinux-fsl-qoriq-a11daefdf9408f331cff193a98400b36dad56ba0.tar.xz
mmc:core: Add restrictions for data transfer and card erase
If max_discard_to was not designed, for mmc card preferred erase size should be used, for sd card just return UINT_MAX. Also add limit for data transfer, Use max_discard_to as data timeout value to avoid timeout error in case data timeout was larger than max_discard_to. This patch can fix I/O error due to large timeout value for erase(CMD38) and write(CMD25) for some crappy cards. Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com> Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> Change-Id: Ib34a7bdb10714b9ab8be0c2b9c2e21bd396edd0f Reviewed-on: http://git.am.freescale.net:8181/405 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions