[U-Boot] [PATCH v2] odroid: remove CONFIG_DM_I2C_COMPAT config
Jaehoon Chung
jh80.chung at samsung.com
Wed Jun 7 03:08:40 UTC 2017
Remove the CONFIG_DM_I2C_COMPAT config.
Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
Changelog on V2:
- Rebased on latest u-boot-samsung
- Added Simon's Reviewed tag
- Fix the typo (COMPAT_DM_I2C_COMPAT -> CONFIG_DM_I2C_COMPAT)
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 ebfb910..22e86e2 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_DM_MMC=y
CONFIG_MMC_DW=y
CONFIG_MMC_SDHCI=y
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index afc7c5e..609a3d1 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