diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-12 21:09:54 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-05-15 06:18:10 +0200 |
commit | 754093eb40862fbbd2450f9f0c6003fad664901c (patch) | |
tree | 27bd90e83f1feab52374062b27ffc40cdbb36382 /drivers/i2c/mxc_i2c.c | |
parent | 00fc38aec94a5ea41ec5cd5faa2bfe7b201b8e12 (diff) | |
download | u-boot-754093eb40862fbbd2450f9f0c6003fad664901c.tar.gz |
i2c: mxc_i2c: Drop use of CONFIG_I2C_HARD
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c/mxc_i2c.c')
-rw-r--r-- | drivers/i2c/mxc_i2c.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 }, |