]> git.baikalelectronics.ru Git - uboot.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)
commita29bdd0d1d80e76623a492e7a9c62ccb5624c1f5
treea968ce84f49d57ab8ca3d003afcbb3243736c0a3
parent63c18a4e8167c61cea1ed40038e2d7938c7d17b5
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.
  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>
drivers/mmc/fsl_esdhc.c