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
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
dma DMA: Split the APBH DMA init into block and channel init 2012-04-16 14:53:59 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio GPIO: Add SPEAr GPIO driver 2012-07-07 14:07:42 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c mxs-i2c: Fix internal address byte order 2012-07-11 10:54:53 +02:00
input tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
misc pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
mmc SD/MMC: check the card status during erase operation 2012-07-13 17:04:50 -05:00
mtd MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00
net net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other 2012-07-10 10:12:03 -05:00
pci pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe drivers/qe/uec.c: Fix compile warning 2012-05-22 13:41:48 -05:00
rtc rtc/m41t62: Add support for M41T82 with HT (Halt Update) 2012-07-07 14:07:43 +02:00
serial sh: Add SH7269 device and RSK2+SH7269 board 2012-05-28 09:12:54 +09:00
spi kw_spi: add weak functions board_spi_claim/release_bus 2012-07-07 14:07:32 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-07-10 08:54:41 +02:00
video Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00