]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exynos5: enable dm i2c
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Jan 2015 12:36:39 +0000 (13:36 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:10:01 +0000 (17:10 -0700)
This patch enables CONFIG_DM_I2C and also CONFIG_DM_I2C_COMPAT.
The last one should be removed when all the i2c peripheral
drivers will use dm i2c framework.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Cc: Akshay Saraswat <akshay.s@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
include/configs/exynos5-common.h

index ad63f3c5496d39e0be23c35d2a1d29c92edf8c11..0ba39a23dd03d4fcf71d3bed7815e8149cc7019d 100644 (file)
 #define SPI_FLASH_UBOOT_POS    (CONFIG_SEC_FW_SIZE + CONFIG_BL1_SIZE)
 
 /* I2C */
-#define CONFIG_SYS_I2C_INIT_BOARD
-#define CONFIG_SYS_I2C
+#define CONFIG_DM_I2C
+#define CONFIG_DM_I2C_COMPAT
 #define CONFIG_CMD_I2C
-#define CONFIG_SYS_I2C_S3C24X0_SPEED   100000          /* 100 Kbps */
 #define CONFIG_SYS_I2C_S3C24X0
-#define CONFIG_I2C_MULTI_BUS
+#define CONFIG_SYS_I2C_S3C24X0_SPEED   100000          /* 100 Kbps */
 #define CONFIG_SYS_I2C_S3C24X0_SLAVE    0x0
 #define CONFIG_I2C_EDID