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)
commit297d2de2ef502ffb490d7ec8e194b1e0f6eee400
tree9a9f5f19f6da9f8cf0f7fc6aa034497cd0581f8b
parentfe04d885fb540b614a2f989e16e808b300ccb52e
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.
   66fa035 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