]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: davinci: fix mmc boot in SPL
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Nov 2019 15:10:31 +0000 (16:10 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:44:14 +0000 (08:44 -0500)
commit6d557c293ee6278342a24caf7115cac270e2e5bf
treec85e641a691301912e9393f665b3bfa05b58ed46
parentf0e40ed0aa70cfb9ee2f08353481959875f11c5d
mmc: davinci: fix mmc boot in SPL

The MMC boot is currently broken on omapl138-lcdk after enabling the
driver model in SPL. The main problem is the driver's bind callback not
being called after probe in SPL (even with the DM_FLAG_PRE_RELOC flag
specified).

While a proper fix is still being worked on, this hacky changeset at
least fixes the MMC boot on this platform by calling mmc_bind()
manually from probe().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/mmc/davinci_mmc.c