Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Move ifdef to CONFIG_IS_ENABLED

2019-01-10 Thread Lukasz Majewski
Hi Adam, > For some boards, DM_REGULATOR and DM_GPIO may not be enabled in > SPL but enabled in U-Boot. So switching to CONFIG_IS_ENABLED from > ifdef allows the esdhc driver to function with some limited > functionality in SPL. > > Signed-off-by: Adam Ford > > diff --git a/drivers/mmc/fsl_esd

[U-Boot] [PATCH] mmc: fsl_esdhc: Move ifdef to CONFIG_IS_ENABLED

2019-01-10 Thread Adam Ford
For some boards, DM_REGULATOR and DM_GPIO may not be enabled in SPL but enabled in U-Boot. So switching to CONFIG_IS_ENABLED from ifdef allows the esdhc driver to function with some limited functionality in SPL. Signed-off-by: Adam Ford diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esd