Hello Peng,

On 06.04.23 12:26, Peng Fan (OSS) wrote:
> From: Ye Li <[email protected]>
> 
> The IS_ENABLED, which does not consider SPL build, should be replaced
> by CONFIG_IS_ENABLED.
> For the case that we only enable DM CLK for u-boot but not in SPL, the
> IS_ENABLED(CONFIG_CLK) still returns true, then cause clock failure.
> 
> Reviewed-by: Peng Fan <[email protected]>
> Signed-off-by: Ye Li <[email protected]>
> Signed-off-by: Peng Fan <[email protected]>
> ---
>  drivers/i2c/imx_lpi2c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)


Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]

Reply via email to