]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: make BLK as hard requirement of DM_MMC
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 21 Oct 2019 10:09:07 +0000 (18:09 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 29 Oct 2019 02:09:21 +0000 (10:09 +0800)
commit41dec2fe99512e941261594f522b2e7d485c314b
treea968ce84f49d57ab8ca3d003afcbb3243736c0a3
parentffc379b42c85466e1dd4c8fee8268801f26d2ab8
mmc: fsl_esdhc: 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>
drivers/mmc/fsl_esdhc.c