]> git.sur5r.net Git - u-boot/commitdiff
mpc7448hpc2: Add CONFIG_SYS_I2C_SPEED define
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 24 Apr 2009 20:34:08 +0000 (15:34 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:45 +0000 (20:39 +0200)
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>
include/configs/mpc7448hpc2.h

index a1783b200942b007ff4b37501519a0b238521d56..7d421556e9eedebbec581f664847ed859dff2ddb 100644 (file)
  */
 #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 */