diff options
author | Marek Vasut <marex@denx.de> | 2014-10-20 00:23:41 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2014-10-29 08:55:46 +0100 |
commit | 1fa96e80ecd5d0daeb7c76b9ceb447b442894177 (patch) | |
tree | 27da15270dcd225706cb79b1d033874226e5f50c /include/configs | |
parent | 9536099d5083cb2c9657cf5c13e22a01567dbd2d (diff) | |
download | u-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.h | 3 |
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 |