]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 23 May 2019 03:05:46 +0000 (11:05 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 19 Jun 2019 07:24:56 +0000 (12:54 +0530)
commit66fa035b55463d21bab2196289a6090431c5e45f
tree25539574acf3d2f58e296ae30404d85d74f1a330
parent087bfe67ac2555c37b257335424b7c193d7f6afd
mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

u-boot is trying to make CONFIG_BLK as a hard requirement
for DM_MMC. But now it's still not.

config BLK
bool "Support block devices"
depends on DM
default y if DM_MMC

When fsl_esdhc driver was reworked for DM_MMC support, DM_MMC
without CONFIG_BLK enabled wasn't considered. This patch is to
fix probe issue without CONFIG_BLK enabled.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
drivers/mmc/fsl_esdhc.c