summaryrefslogtreecommitdiff
path: root/include/lynxkdi.h
diff options
context:
space:
mode:
authorJerry Huang <Chang-Ming.Huang@freescale.com>2012-05-17 23:00:51 +0000
committerAndy Fleming <afleming@freescale.com>2012-07-13 17:04:50 -0500
commitd2d8afae338664958b0ab68741419c0f8be26e80 (patch)
tree4e2c5ccc27e74a9fe982660c7557b46dbe7aa050 /include/lynxkdi.h
parent40242bc394030871e6de13883fe1ace5c0b8e15b (diff)
downloadu-boot-imx-d2d8afae338664958b0ab68741419c0f8be26e80.zip
u-boot-imx-d2d8afae338664958b0ab68741419c0f8be26e80.tar.gz
u-boot-imx-d2d8afae338664958b0ab68741419c0f8be26e80.tar.bz2
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>
Diffstat (limited to 'include/lynxkdi.h')
0 files changed, 0 insertions, 0 deletions