]> git.sur5r.net Git - u-boot/commit
cmd_mmc: add force_init parameter to init_mmc_device()
authorStephen Warren <swarren@nvidia.com>
Fri, 23 May 2014 19:24:45 +0000 (13:24 -0600)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Thu, 12 Jun 2014 12:21:12 +0000 (15:21 +0300)
commit1ae24a5041b6fab7cc986bda7fec92b3d643ac96
treeba91c0fbf5424aa6d7d94389bd9acf8dd041223f
parentecdd57e27467593a864ca5437db45266e36e3a7b
cmd_mmc: add force_init parameter to init_mmc_device()

This allows callers to inject mmc->has_init = 0 between finding the
MMC device, and calling mmc_init(), which forces mmc_init() to rescan
the HW. Future changes will use this feature.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
common/cmd_mmc.c