]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 1 Feb 2019 16:40:11 +0000 (16:40 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
commitd76706c89adea229d2207b0280d1f3fb559671e4
treeb62d522674fd8e8fbf6733e997c7ea5830624c96
parent3ad186fbe9aeb1ee34787d3f122014358e702b6d
mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds

Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/mmc/fsl_esdhc.c