Commit d54d59ec authored by Ye Li's avatar Ye Li
Browse files

MLK-14445-4 mx7ulp: Fix wrong i2c configuration name



Wrong I2c driver configuration name is used in codes, so I2c driver is
not built. Correct it.
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent da1c290f
......@@ -73,7 +73,7 @@ u32 get_lpuart_clk(void)
return pcc_clock_get_rate(lpuart_pcc_clks[index - 4]);
}
#ifdef CONFIG_SYS_LPI2C_IMX
#ifdef CONFIG_SYS_I2C_IMX_LPI2C
int enable_i2c_clk(unsigned char enable, unsigned i2c_num)
{
/* Set parent to FIRC DIV2 clock */
......
......@@ -27,7 +27,7 @@ enum mxc_clock {
u32 mxc_get_clock(enum mxc_clock clk);
u32 get_lpuart_clk(void);
#ifdef CONFIG_SYS_LPI2C_IMX
#ifdef CONFIG_SYS_I2C_IMX_LPI2C
int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
u32 imx_get_i2cclk(unsigned i2c_num);
#endif
......
......@@ -10,7 +10,7 @@ CONFIG_DM=y
CONFIG_DM_GPIO=y
CONFIG_IMX_RGPIO2P=y
CONFIG_DM_I2C=y
CONFIG_SYS_LPI2C_IMX=y
CONFIG_SYS_I2C_IMX_LPI2C=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7ULP=y
CONFIG_DM_SERIAL=y
......
......@@ -11,7 +11,7 @@ CONFIG_DM=y
CONFIG_DM_GPIO=y
CONFIG_IMX_RGPIO2P=y
CONFIG_DM_I2C=y
CONFIG_SYS_LPI2C_IMX=y
CONFIG_SYS_I2C_IMX_LPI2C=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7ULP=y
CONFIG_DM_SERIAL=y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment