]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fsl_esdhc_imx: make BLK as hard requirement of DM_MMC
authorSean Anderson <sean.anderson@seco.com>
Tue, 11 Jan 2022 23:18:52 +0000 (08:18 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Jan 2022 23:22:42 +0000 (08:22 +0900)
commit0326886f4edfd8f5a7d4235c900ac6fb989bb253
tree9a9f5f19f6da9f8cf0f7fc6aa034497cd0581f8b
parent4c303e21911412063f45915e899398be4f143b2b
mmc: fsl_esdhc_imx: make BLK as hard requirement of DM_MMC

U-boot prefers DM_MMC + BLK for MMC. Now eSDHC driver has already
support it, so let's force to use it.

- Drop non-BLK support for DM_MMC introduced by below patch.
   0e2ad28 mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

- Support only DM_MMC + BLK (assuming BLK is always enabled for DM_MMC).

- Use DM_MMC instead of BLK for conditional compile.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/fsl_esdhc_imx.c