[U-Boot] [PATCH] odroid: remove COMPAT_DM_I2C_COMPAT config

Jaehoon Chung jh80.chung at samsung.com
Tue May 30 01:06:47 UTC 2017


Remove the COMPAT_DM_I2C_COMPAT config.

Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
---
This patch is based on "Enable the CONFIG_DM_MMC for Exynos4 series"

 configs/odroid_defconfig | 2 +-
 include/configs/odroid.h | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
index a28058a..1d13119 100644
--- a/configs/odroid_defconfig
+++ b/configs/odroid_defconfig
@@ -38,7 +38,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
-CONFIG_DM_I2C_COMPAT=y
+CONFIG_SYS_I2C_S3C24X0=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 6cc7dd1..64f8f8d 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -175,11 +175,6 @@
 	"scriptaddr=0x42000000\0" \
 	"fdtaddr=40800000\0"
 
-/* I2C */
-#define CONFIG_SYS_I2C_S3C24X0
-#define CONFIG_SYS_I2C_S3C24X0_SPEED	100000
-#define CONFIG_SYS_I2C_S3C24X0_SLAVE	0
-
 /* GPT */
 #define CONFIG_RANDOM_UUID
 
-- 
2.10.2



More information about the U-Boot mailing list