Files
u-boot/drivers
Jerry Huang d2d8afae33 SD/MMC: check the card status during erase operation
Use the function 'mmc_send_status' to check the card status.
only when the card is ready, driver can send the next erase command
to the card, otherwise, the erase will failed:
=> mmc erase 0 1
MMC erase: dev # 0, block # 0, count 1 ... 1 blocks erase: OK
=> mmc erase 0 2
MMC erase: dev # 0, block # 0, count 2 ... mmc erase failed
1 blocks erase: ERROR
=> mmc erase 0 4
MMC erase: dev # 0, block # 0, count 4 ... mmc erase failed
1 blocks erase: ERROR

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Andy Fleming <afleming@gmail.com>
CC: Marek Vasut <marex@denx.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-07-13 17:04:50 -05:00
..
2012-07-08 22:15:08 +02:00
2012-07-07 14:07:42 +02:00
2012-05-15 08:31:40 +02:00
2012-05-15 08:31:34 +02:00
2012-03-26 23:09:23 +02:00
2012-05-15 08:31:37 +02:00
2012-05-22 13:41:48 -05:00
2012-07-08 22:15:08 +02:00