Hello Peng Fan, On 23.01.23 10:16, Peng Fan (OSS) wrote: > From: Ye Li <ye...@nxp.com> > > 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 <peng....@nxp.com> > Signed-off-by: Ye Li <ye...@nxp.com> > Signed-off-by: Peng Fan <peng....@nxp.com> > --- > drivers/i2c/imx_lpi2c.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks! Reviewed-by: Heiko Schocher <h...@denx.de> 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: h...@denx.de