summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2017-06-01 16:27:27 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2017-06-29 19:34:10 +0300
commitc2a7ee226d38e943a5643b244f4190458e67b064 (patch)
treef9fb1bf768265e542633d89e5e848cfc004379eb
parent06bd1d7f9543db71851d8bac026c321ee6cd3b86 (diff)
downloadu-boot-c2a7ee226d38e943a5643b244f4190458e67b064.tar.gz
axs10x: Get rid of both I2C and EEPROM who used to use I2C
With eb5ba3aefdf0 "i2c: Drop use of CONFIG_I2C_HARD" in place we cannot use I2C EEPROM any longer so we're dropping all references to both EEPROM and I2C which was only used for EEPROM. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/axs101_defconfig1
-rw-r--r--configs/axs103_defconfig1
-rw-r--r--include/configs/axs10x.h26
3 files changed, 0 insertions, 28 deletions
diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig
index 9d7dc7f7c0..0b15652493 100644
--- a/configs/axs101_defconfig
+++ b/configs/axs101_defconfig
@@ -21,7 +21,6 @@ CONFIG_OF_CONTROL=y
CONFIG_OF_EMBED=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DM=y
-CONFIG_SYS_I2C_DW=y
CONFIG_MMC=y
CONFIG_MMC_DW=y
CONFIG_DM_ETH=y
diff --git a/configs/axs103_defconfig b/configs/axs103_defconfig
index bcd4754eef..add24cfe22 100644
--- a/configs/axs103_defconfig
+++ b/configs/axs103_defconfig
@@ -21,7 +21,6 @@ CONFIG_OF_CONTROL=y
CONFIG_OF_EMBED=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DM=y
-CONFIG_SYS_I2C_DW=y
CONFIG_MMC=y
CONFIG_MMC_DW=y
CONFIG_DM_ETH=y
diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h
index e78a7a140a..5ecdc764ac 100644
--- a/include/configs/axs10x.h
+++ b/include/configs/axs10x.h
@@ -52,32 +52,6 @@
#define CONFIG_SYS_NS16550_MEM32
/*
- * I2C configuration
- */
-#define CONFIG_SYS_I2C
-#define CONFIG_I2C_ENV_EEPROM_BUS 2
-#define CONFIG_SYS_I2C_SPEED 100000
-#define CONFIG_SYS_I2C_SPEED1 100000
-#define CONFIG_SYS_I2C_SPEED2 100000
-#define CONFIG_SYS_I2C_SLAVE 0
-#define CONFIG_SYS_I2C_SLAVE1 0
-#define CONFIG_SYS_I2C_SLAVE2 0
-#define CONFIG_SYS_I2C_BASE 0xE001D000
-#define CONFIG_SYS_I2C_BASE1 0xE001E000
-#define CONFIG_SYS_I2C_BASE2 0xE001F000
-#define CONFIG_SYS_I2C_BUS_MAX 3
-#define IC_CLK 50
-
-/*
- * EEPROM configuration
- */
-#define CONFIG_SYS_I2C_EEPROM_ADDR (0xA8 >> 1)
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
-#define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 1
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 64
-
-/*
* Ethernet PHY configuration
*/
#define CONFIG_MII