summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLudwig Zenz <[email protected]>2019-07-08 15:04:58 +0200
committerStefano Babic <[email protected]>2019-07-19 20:32:24 +0200
commit4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b (patch)
tree1a7a6905926630002f520d289103ca872e1b9323 /include
parent86e59530be5b0a87641d3bd76959a55b99028bc2 (diff)
ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C
This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and removes non DM I2C code. The I2C EEPROM with ethaddr (MAC) is defined in the device tree. Use UCLASS_I2C_EEPROM to find the device by fixed hardware path and read the ethaddr. Tested with DHCOM i.MX6dl and DHCOM i.MX6q. Signed-off-by: Ludwig Zenz <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/dh_imx6.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index 3b1d0a99a19..7d2e5738467 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -48,14 +48,6 @@
#define CONFIG_FEC_MXC_PHYADDR 0
#define CONFIG_ARP_TIMEOUT 200UL
-/* I2C Configs */
-#define CONFIG_SYS_I2C
-#define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
-#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED 100000
-
/* MMC Configs */
#define CONFIG_FSL_USDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR 0