]> git.sur5r.net Git - u-boot/commit
mmc: fix ERASE_GRP_DEF handling
authorHannes Petermaier <Hannes.Petermaier@br-automation.com>
Fri, 8 Aug 2014 07:47:22 +0000 (09:47 +0200)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 3 Oct 2014 14:26:49 +0000 (17:26 +0300)
commit021a80559f4293368558cc10dbbc75b26ecab059
tree32af9f8715d672946d81c902844994a246aeed95
parent282a82e8a10ce6ef132d7a809101fdaed951001c
mmc: fix ERASE_GRP_DEF handling

if we set manually this bit on the eMMC card using mmc_switch(...),
we also have to set it within our (before read) internal structure
'ext_csd'.

Otherwise following checks on this will fail.

Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
drivers/mmc/mmc.c