projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00fc38a
)
i2c: mxc_i2c: Drop use of CONFIG_I2C_HARD
author
Simon Glass
<sjg@chromium.org>
Sat, 13 May 2017 03:09:54 +0000
(21:09 -0600)
committer
Heiko Schocher
<hs@denx.de>
Mon, 15 May 2017 04:18:10 +0000
(06:18 +0200)
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/mxc_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/mxc_i2c.c
b/drivers/i2c/mxc_i2c.c
index 13ec0e63b106f1383539aa123c6d54f4c1a766b4..b68e82770b53e217aef5d939fde73b486ab75d6e 100644
(file)
--- 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 },