diff options
author | Robin Gong <b38343@freescale.com> | 2013-06-03 16:49:18 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2013-06-03 16:49:18 +0800 |
commit | e523bf66a7f484156a06d42983a92e1b52ed0171 (patch) | |
tree | 4702b6c3b13dfffd2d5ac21ef6837f40f8fff453 /include | |
parent | 972a5cf2579aef35c0369b1afd266d5eaa371321 (diff) | |
download | u-boot-imx-e523bf66a7f484156a06d42983a92e1b52ed0171.zip u-boot-imx-e523bf66a7f484156a06d42983a92e1b52ed0171.tar.gz u-boot-imx-e523bf66a7f484156a06d42983a92e1b52ed0171.tar.bz2 |
ENGR00265265 I2C: add I2C support on Sabre- board
- add I2C support on Sabresd ,Sabreauto board.
- add pfuze init code based on I2C transfer in Sabre* board file.
Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6qsabre_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h index cb6d1bc..0576d47 100644 --- a/include/configs/mx6qsabre_common.h +++ b/include/configs/mx6qsabre_common.h @@ -287,4 +287,14 @@ #define CONFIG_CMD_CACHE #endif +/* + * I2C configs + */ +#define CONFIG_CMD_I2C +#define CONFIG_HARD_I2C 1 +#define CONFIG_I2C_MXC 1 +#define CONFIG_SYS_I2C_BASE I2C2_BASE_ADDR +#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_SYS_I2C_SLAVE 0x8 + #endif /* __MX6QSABRE_COMMON_CONFIG_H */ |