diff options
author | wdenk <wdenk> | 2003-03-06 13:39:27 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-03-06 13:39:27 +0000 |
commit | 47cd00fa707af9de76408b69d3e911717dbbfab1 (patch) | |
tree | dd887729a4eaf11e7a225563f4c604ef4b7d695b /cpu/mpc8xx/i2c.c | |
parent | db2f721ffcf9693086a7e5c6c7015f2019e7f52e (diff) | |
download | u-boot-imx-47cd00fa707af9de76408b69d3e911717dbbfab1.zip u-boot-imx-47cd00fa707af9de76408b69d3e911717dbbfab1.tar.gz u-boot-imx-47cd00fa707af9de76408b69d3e911717dbbfab1.tar.bz2 |
* Patches by Robert Schwebel, 06 Mar 2003:
- fix bug in BOOTP code (must use NetCopyIP)
- update of CSB226 port
- clear BSS segment on XScale
- added support for i2c_init_board() function
- update to the Innokom plattform
* Extend support for redundand environments for configurations where
environment size < sector size
Diffstat (limited to 'cpu/mpc8xx/i2c.c')
-rw-r--r-- | cpu/mpc8xx/i2c.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/mpc8xx/i2c.c b/cpu/mpc8xx/i2c.c index 9d5d9d2..9e8b8c7 100644 --- a/cpu/mpc8xx/i2c.c +++ b/cpu/mpc8xx/i2c.c @@ -215,6 +215,13 @@ i2c_init(int speed, int slaveaddr) volatile I2C_BD *rxbd, *txbd; uint dpaddr; +#ifdef CFG_I2C_INIT_BOARD + /* call board specific i2c bus reset routine before accessing the */ + /* environment, which might be in a chip on that bus. For details */ + /* about this problem see doc/I2C_Edge_Conditions. */ + i2c_init_board(); +#endif + #ifdef CFG_I2C_UCODE_PATCH iip = (iic_t *)&cp->cp_dpmem[iip->iic_rpbase]; #else |