diff options
author | Ludwig Zenz <lzenz@dh-electronics.com> | 2019-07-08 15:04:58 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-07-19 20:32:24 +0200 |
commit | 4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b (patch) | |
tree | 1a7a6905926630002f520d289103ca872e1b9323 /include/configs/dh_imx6.h | |
parent | 86e59530be5b0a87641d3bd76959a55b99028bc2 (diff) | |
download | u-boot-4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b.tar.gz u-boot-4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b.tar.xz u-boot-4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b.zip |
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 <lzenz@dh-electronics.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs/dh_imx6.h')
-rw-r--r-- | include/configs/dh_imx6.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 3b1d0a99a1..7d2e573846 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 |