MMC: Enable DM_MMC for Davinci
authorAdam Ford <aford173@gmail.com>
Thu, 9 Aug 2018 11:15:12 +0000 (06:15 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:40:17 +0000 (21:40 -0400)
commitdf6565c36c607104590e954d093b92a58a9d5d28
treee566154338d8be2f5922311c7ac798c42d568c88
parent5c4689e43e87606661fe8dca6c98eaea4d153a73
MMC: Enable DM_MMC for Davinci

With CONFIG_BLK becoming a requirement, the Davinci MMC driver
needs to be updated with DM_MMC support.  Since SPL is tiny and
many boards do not support DM in SPL, this retains the backwards
compatibility for those boards who need to initialize MMC manually
in SPL.

Signed-off-by: Peter Howard <phoward@gme.net.au>
Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/mmc/davinci_mmc.c