summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configs/ethernut5.h3
-rw-r--r--include/configs/km/km_arm.h4
-rw-r--r--include/configs/snapper9260.h3
-rw-r--r--include/configs/sunxi-common.h5
4 files changed, 1 insertions, 14 deletions
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index 3f266543b92..8b60ad52df1 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -98,9 +98,6 @@
#define CONFIG_SYS_MAX_I2C_BUS 1
#define CONFIG_SYS_I2C_LEGACY
-#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */
-#define CONFIG_SYS_I2C_SOFT_SPEED 100000
-#define CONFIG_SYS_I2C_SOFT_SLAVE 0
#define I2C_SOFT_DECLARATIONS
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 6633bf8256d..a52df29df12 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -91,7 +91,6 @@
*/
#undef CONFIG_I2C_MVTWSI
#define CONFIG_SYS_I2C_LEGACY
-#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */
#define CONFIG_SYS_I2C_INIT_BOARD
#define CONFIG_KIRKWOOD_GPIO /* Enable GPIO Support */
@@ -125,9 +124,6 @@ extern void __set_direction(unsigned pin, int high);
#define I2C_DELAY udelay(1)
#define I2C_SOFT_DECLARATIONS
-#define CONFIG_SYS_I2C_SOFT_SLAVE 0x0
-#define CONFIG_SYS_I2C_SOFT_SPEED 100000
-
/* EEprom support 24C128, 24C256 valid for environment eeprom */
#define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index 529976efee0..2c89a6b5306 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -74,9 +74,6 @@
/* I2C - Bit-bashed */
#define CONFIG_SYS_I2C_LEGACY
-#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */
-#define CONFIG_SYS_I2C_SOFT_SPEED 100000
-#define CONFIG_SYS_I2C_SOFT_SLAVE 0x7F
#define CONFIG_SOFT_I2C_READ_REPEATED_START
#define I2C_INIT do { \
at91_set_gpio_output(AT91_PIN_PA23, 1); \
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 958b850da4a..4f7049a4de6 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -205,10 +205,7 @@
#endif
#endif
-#if defined CONFIG_VIDEO_LCD_PANEL_I2C && !(defined CONFIG_SPL_BUILD)
-#define CONFIG_SYS_I2C_SOFT
-#define CONFIG_SYS_I2C_SOFT_SPEED 50000
-#define CONFIG_SYS_I2C_SOFT_SLAVE 0x00
+#if defined(CONFIG_VIDEO_LCD_PANEL_I2C)
/* We use pin names in Kconfig and sunxi_name_to_gpio() */
#define CONFIG_SOFT_I2C_GPIO_SDA soft_i2c_gpio_sda
#define CONFIG_SOFT_I2C_GPIO_SCL soft_i2c_gpio_scl