summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-11-08 07:30:53 +0100
committerHeiko Schocher <hs@denx.de>2013-11-13 06:18:27 +0100
commit0bdffe71fddeaa46768a39305797e4512dee0f15 (patch)
treeb05079a1337384867d36663a6531458ae5f0c11a /include
parent6789e84ecaa8f45d053084e08c381284a04abff7 (diff)
downloadblackbird-obmc-uboot-0bdffe71fddeaa46768a39305797e4512dee0f15.tar.gz
blackbird-obmc-uboot-0bdffe71fddeaa46768a39305797e4512dee0f15.zip
i2c, zynq: convert zynq i2c driver to new multibus/multiadapter framework
- add zync i2c driver to new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/zynq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/zynq.h b/include/configs/zynq.h
index 4c6e6e8f6a..82ec826f73 100644
--- a/include/configs/zynq.h
+++ b/include/configs/zynq.h
@@ -60,10 +60,10 @@
/* I2C */
#if defined(CONFIG_ZYNQ_I2C0) || defined(CONFIG_ZYNQ_I2C1)
# define CONFIG_CMD_I2C
-# define CONFIG_ZYNQ_I2C
-# define CONFIG_HARD_I2C
-# define CONFIG_SYS_I2C_SPEED 100000
-# define CONFIG_SYS_I2C_SLAVE 1
+# define CONFIG_SYS_I2C
+# define CONFIG_SYS_I2C_ZYNQ
+# define CONFIG_SYS_I2C_ZYNQ_SPEED 100000
+# define CONFIG_SYS_I2C_ZYNQ_SLAVE 1
#endif
#if defined(CONFIG_ZYNQ_DCC)
OpenPOWER on IntegriCloud