• Yangbo Lu's avatar
    mmc: block: add fixup of broken CMD23 for Sandisk card · 7d70d476
    Yangbo Lu authored
    Some Sandisk cards(such as "SDMB-32" and "SDM032" cards)
    can't support CMD23, and would generate CMD timeout. So add
    FIX-UP for these two types Sandisk cards.
    
    Error log:
    mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400900
    mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400900
    mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400900
    end_request: I/O error, dev mmcblk0, sector 0
    Buffer I/O error on device mmcblk0, logical block 0
    mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400900
    Signed-off-by: default avatarYangbo Lu <yangbo.lu@freescale.com>
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    7d70d476
block.c 65.3 KB