summaryrefslogtreecommitdiffstats
path: root/include/configs/bfin_adi_common.h
diff options
context:
space:
mode:
authorScott Jiang <scott.jiang.linux@gmail.com>2014-11-13 15:30:55 +0800
committerHeiko Schocher <hs@denx.de>2014-11-17 08:10:37 +0100
commitc469703ba0e4adcd210e342fa6a19fcd83fe7207 (patch)
tree350ad1ea61f611b7161351f997dd9c6da1f295aa /include/configs/bfin_adi_common.h
parenta6be70f7ec567e4a4534d657b9aec9c0b79c466b (diff)
downloadblackbird-obmc-uboot-c469703ba0e4adcd210e342fa6a19fcd83fe7207.tar.gz
blackbird-obmc-uboot-c469703ba0e4adcd210e342fa6a19fcd83fe7207.zip
blackfin: convert to use CONFIG_SYS_I2C framework
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Diffstat (limited to 'include/configs/bfin_adi_common.h')
-rw-r--r--include/configs/bfin_adi_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 07ec5f2bd8..143d3ddd2d 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -73,7 +73,7 @@
# ifdef CONFIG_SPI_FLASH
# define CONFIG_CMD_SF
# endif
-# if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT)
+# if defined(CONFIG_SYS_I2C) || defined(CONFIG_SYS_I2C_SOFT)
# define CONFIG_CMD_I2C
# define CONFIG_SOFT_I2C_READ_REPEATED_START
# endif
@@ -301,7 +301,7 @@
/*
* I2C Settings
*/
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT)
+#if defined(CONFIG_SYS_I2C) || defined(CONFIG_SYS_I2C_SOFT)
# ifndef CONFIG_SYS_I2C_SPEED
# define CONFIG_SYS_I2C_SPEED 50000
# endif
OpenPOWER on IntegriCloud