Message ID | 20170513031000.5429-7-sjg@chromium.org |
---|---|
State | Awaiting Upstream |
Delegated to: | Heiko Schocher |
Headers | show |
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: > Drop use of this long-deprecated option. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > Changes in v3: None > Changes in v2: None > > drivers/i2c/mxc_i2c.c | 4 ---- > 1 file changed, 4 deletions(-) Thanks! Applied to u-boot-i2c.git master u-boot-i2c master just testing on travis: https://travis-ci.org/hsdenx/u-boot-i2c/builds/232288665 bye, Heiko > > diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c > index 13ec0e63b1..b68e82770b 100644 > --- a/drivers/i2c/mxc_i2c.c > +++ b/drivers/i2c/mxc_i2c.c > @@ -69,10 +69,6 @@ DECLARE_GLOBAL_DATA_PTR; > #define I2SR_IIF_CLEAR (0 << 1) > #endif > > -#if defined(CONFIG_HARD_I2C) && !defined(CONFIG_SYS_I2C_BASE) > -#error "define CONFIG_SYS_I2C_BASE to use the mxc_i2c driver" > -#endif > - > #ifdef I2C_QUIRK_REG > static u16 i2c_clk_div[60][2] = { > { 20, 0x00 }, { 22, 0x01 }, { 24, 0x02 }, { 26, 0x03 }, >
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 13ec0e63b1..b68e82770b 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -69,10 +69,6 @@ DECLARE_GLOBAL_DATA_PTR; #define I2SR_IIF_CLEAR (0 << 1) #endif -#if defined(CONFIG_HARD_I2C) && !defined(CONFIG_SYS_I2C_BASE) -#error "define CONFIG_SYS_I2C_BASE to use the mxc_i2c driver" -#endif - #ifdef I2C_QUIRK_REG static u16 i2c_clk_div[60][2] = { { 20, 0x00 }, { 22, 0x01 }, { 24, 0x02 }, { 26, 0x03 },
Drop use of this long-deprecated option. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v3: None Changes in v2: None drivers/i2c/mxc_i2c.c | 4 ---- 1 file changed, 4 deletions(-)