summaryrefslogtreecommitdiff
path: root/include/configs
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/configs
parent9536099d5083cb2c9657cf5c13e22a01567dbd2d (diff)
downloadu-boot-imx-1fa96e80ecd5d0daeb7c76b9ceb447b442894177.zip
u-boot-imx-1fa96e80ecd5d0daeb7c76b9ceb447b442894177.tar.gz
u-boot-imx-1fa96e80ecd5d0daeb7c76b9ceb447b442894177.tar.bz2
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/configs')
-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 eb96fc1..dea8227 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