summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-04-24 15:34:08 -0500
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:45 +0200
commit8d907e79bc9babb27396e34be54cfdc36ff62fb9 (patch)
tree9eee07dbc18259e4e2f83634611a55a1b04c0cd8
parenta056b1ce9e19b4d4ab3dd01c3f897dcd832cd37f (diff)
downloadu-boot-imx-8d907e79bc9babb27396e34be54cfdc36ff62fb9.zip
u-boot-imx-8d907e79bc9babb27396e34be54cfdc36ff62fb9.tar.gz
u-boot-imx-8d907e79bc9babb27396e34be54cfdc36ff62fb9.tar.bz2
mpc7448hpc2: Add CONFIG_SYS_I2C_SPEED define
Add standard CONFIG_SYS_I2C_SPEED define for the mpc7448hpc2 so that it can use the common 'i2c speed' command. Note that the I2C controller utilized by the mpc7448hpc2 has a fixed speed and cannot be changed dynamically. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--include/configs/mpc7448hpc2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mpc7448hpc2.h b/include/configs/mpc7448hpc2.h
index a1783b2..7d42155 100644
--- a/include/configs/mpc7448hpc2.h
+++ b/include/configs/mpc7448hpc2.h
@@ -179,6 +179,7 @@
*/
#define CONFIG_VERSION_VARIABLE 1
#define CONFIG_TSI108_I2C
+#define CONFIG_SYS_I2C_SPEED 100000 /* I2C speed */
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* I2C EEPROM page 1 */
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 /* Bytes of address */