summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorLudwig Zenz <lzenz@dh-electronics.com>2019-07-08 15:04:58 +0200
committerStefano Babic <sbabic@denx.de>2019-07-19 20:32:24 +0200
commit4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b (patch)
tree1a7a6905926630002f520d289103ca872e1b9323 /configs
parent86e59530be5b0a87641d3bd76959a55b99028bc2 (diff)
downloadu-boot-4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b.tar.gz
u-boot-4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b.tar.bz2
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 'configs')
-rw-r--r--configs/dh_imx6_defconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
index 387ab843b3..3022a187cc 100644
--- a/configs/dh_imx6_defconfig
+++ b/configs/dh_imx6_defconfig
@@ -23,7 +23,6 @@ CONFIG_BOOTDELAY=3
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
CONFIG_BOUNCE_BUFFER=y
CONFIG_SPL_TEXT_BASE=0x00908000
-CONFIG_SPL_I2C_SUPPORT=y
CONFIG_SPL_SPI_LOAD=y
CONFIG_SPL_WATCHDOG_SUPPORT=y
CONFIG_CMD_MEMTEST=y
@@ -48,6 +47,10 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_DWC_AHSATA=y
CONFIG_BOOTCOUNT_LIMIT=y
CONFIG_DM_GPIO=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_MXC=y
+CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
CONFIG_DM_MMC=y
CONFIG_FSL_ESDHC_IMX=y
CONFIG_DM_SPI_FLASH=y