m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition

Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
This commit is contained in:
Angelo Dureghello
2023-04-05 00:59:25 +02:00
committed by Heiko Schocher
parent db457e682a
commit 987e20e593

View File

@@ -129,9 +129,8 @@ int get_clocks(void)
setup_5441x_clocks();
#endif
#ifdef CONFIG_SYS_FSL_I2C
gd->arch.i2c1_clk = gd->bus_clk;
#endif
if (IS_ENABLED(CONFIG_SYS_I2C_FSL))
gd->arch.i2c1_clk = gd->bus_clk;
return (0);
}