]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: fsl_esdhc: clean up DM and non-DM code
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 31 Oct 2019 10:54:26 +0000 (18:54 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 5 Nov 2019 03:21:25 +0000 (11:21 +0800)
commit4af009549ecfdc3524e472717ccf8fe98a5128a3
tree6960e3e7ae76ec66e6215caa414f89cec96d873c
parentb3d3ede97070443f00789fd3c2b20f62c72a9699
mmc: fsl_esdhc: clean up DM and non-DM code

Make DM and non-DM code clear using below structure.
#if !CONFIG_IS_ENABLED(DM_MMC)
<non-DM_MMC code>
#else
<DM_MMC code>
#endif

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/fsl_esdhc.c