diff options
author | Michael Burr <michael.burr@logicpd.com> | 2014-01-22 09:46:08 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2014-02-20 06:46:55 +0100 |
commit | 18948632a92f83cfad125edc6ff4a162a7d90a05 (patch) | |
tree | 155e2c089a9b860e679e8c1dfee0998a39274abe /include | |
parent | 9e901071550dd533cc291fb5d19b0841993f6fe7 (diff) | |
download | u-boot-imx-18948632a92f83cfad125edc6ff4a162a7d90a05.zip u-boot-imx-18948632a92f83cfad125edc6ff4a162a7d90a05.tar.gz u-boot-imx-18948632a92f83cfad125edc6ff4a162a7d90a05.tar.bz2 |
i2c: zynq: Add support for the second i2c controller
Initialize the second i2c controller.
Signed-off-by: Michael Burr <michael.burr@logicpd.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/zynq-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 9b6db04..787d32d 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -104,13 +104,13 @@ # define CONFIG_DOS_PARTITION #endif +#define CONFIG_SYS_I2C_ZYNQ /* I2C */ -#if defined(CONFIG_ZYNQ_I2C0) || defined(CONFIG_ZYNQ_I2C1) +#if defined(CONFIG_SYS_I2C_ZYNQ) # define CONFIG_CMD_I2C # define CONFIG_SYS_I2C -# define CONFIG_SYS_I2C_ZYNQ # define CONFIG_SYS_I2C_ZYNQ_SPEED 100000 -# define CONFIG_SYS_I2C_ZYNQ_SLAVE 1 +# define CONFIG_SYS_I2C_ZYNQ_SLAVE 0 #endif /* EEPROM */ |