summaryrefslogtreecommitdiffstats
path: root/include/configs/x600.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-10-28 12:12:00 +0100
committerHeiko Schocher <hs@denx.de>2014-10-29 08:56:23 +0100
commit678398b19ee23ee5227074bc0d0e7c3925af815c (patch)
treea6b3fa06c5ba2ddcbf4a272cf6a6d014ec777051 /include/configs/x600.h
parent318a9cea4983260aae6505b2750e78c276a5451b (diff)
downloadtalos-obmc-uboot-678398b19ee23ee5227074bc0d0e7c3925af815c.tar.gz
talos-obmc-uboot-678398b19ee23ee5227074bc0d0e7c3925af815c.zip
i2c: designware: Convert driver to multibus/multiadapter framework
In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is: - ST spearxxx boards - AXS101 (ARC700 platform) I couldn't test this patch on those boards. Only compile tested for all spear boards. And tested on SoCFPGA. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Tested-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Heiko Schocher <hs@denx.de> Cc: Vipin Kumar <vk.vipin@gmail.com> Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/configs/x600.h')
-rw-r--r--include/configs/x600.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 6214dc480a..04187c0a31 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -83,8 +83,8 @@
#define CONFIG_SPEAR_GPIO
/* I2C config options */
-#define CONFIG_HARD_I2C
-#define CONFIG_DW_I2C
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_DW
#define CONFIG_SYS_I2C_BASE 0xD0200000
#define CONFIG_SYS_I2C_SPEED 400000
#define CONFIG_SYS_I2C_SLAVE 0x02
OpenPOWER on IntegriCloud