summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-10-20 00:23:41 +0200
committerHeiko Schocher <hs@denx.de>2014-10-29 08:55:46 +0100
commit1fa96e80ecd5d0daeb7c76b9ceb447b442894177 (patch)
tree27da15270dcd225706cb79b1d033874226e5f50c /include
parent9536099d5083cb2c9657cf5c13e22a01567dbd2d (diff)
downloadblackbird-obmc-uboot-1fa96e80ecd5d0daeb7c76b9ceb447b442894177.tar.gz
blackbird-obmc-uboot-1fa96e80ecd5d0daeb7c76b9ceb447b442894177.zip
i2c: mxs: Add basic support for i2c framework
This patch just converts the function prototypes used throughout this driver to match those of the i2c framework. There is so far no functional change. This patch does not do the deeper integration of the framework bits. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mxs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/mxs.h b/include/configs/mxs.h
index eb96fc17f3..dea8227aeb 100644
--- a/include/configs/mxs.h
+++ b/include/configs/mxs.h
@@ -148,7 +148,8 @@
/* I2C */
#ifdef CONFIG_CMD_I2C
-#define CONFIG_I2C_MXS
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MXS
#define CONFIG_HARD_I2C
#ifndef CONFIG_SYS_I2C_SPEED
#define CONFIG_SYS_I2C_SPEED 400000
OpenPOWER on IntegriCloud