]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: mmc: Force mmc reinit when no card present
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 3 Jan 2019 21:09:43 +0000 (22:09 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:43 +0000 (15:28 -0500)
commitd2a083696e403aa34288638fcef943deedaf1492
tree0000e3672254c1d19306b3969d6232cf97599568
parentb9a2a0e2e9c024009010a9755d5377795f660b1a
cmd: mmc: Force mmc reinit when no card present

In case the card is removed, force-init the MMC to start the internal
machinery which deregisters and invalidate the MMC device.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c