Re: [PATCH v2 18/21] mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement

2020-01-28 Thread Lukasz Majewski
Hi Giulio, > Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use > DM_CLK instead. So building could result in failure due to missing > mxc_get_clock(). > > Make if(CONFIG_IS_ENABLED(CLK)) an #if statement. > > Signed-off-by: Giulio Benetti > --- > drivers/mmc/fsl_esdhc_imx.c |

[PATCH v2 18/21] mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement

2020-01-15 Thread sbabic
> Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK > instead. So building could result in failure due to missing > mxc_get_clock(). > Make if(CONFIG_IS_ENABLED(CLK)) an #if statement. > Signed-off-by: Giulio Benetti Applied to u-boot-imx, master, thanks ! Best regards,

[PATCH v2 18/21] mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement

2020-01-10 Thread Giulio Benetti
Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK instead. So building could result in failure due to missing mxc_get_clock(). Make if(CONFIG_IS_ENABLED(CLK)) an #if statement. Signed-off-by: Giulio Benetti --- drivers/mmc/fsl_esdhc_imx.c | 38