summaryrefslogtreecommitdiffstats
path: root/include/i2c.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-14 20:47:52 +0000
committerwdenk <wdenk>2003-03-14 20:47:52 +0000
commit06d01dbe000057e5df4af0f113242f0eba716340 (patch)
tree9188617ad1907e44f41910b99af9bde7258338f9 /include/i2c.h
parent09127c60964c47621937ada7b0ccbf0c26329376 (diff)
downloadblackbird-obmc-uboot-06d01dbe000057e5df4af0f113242f0eba716340.tar.gz
blackbird-obmc-uboot-06d01dbe000057e5df4af0f113242f0eba716340.zip
* Avoid flicker on the TRAB's VFD by synchronizing the enable with
the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100 boards, version 153 for Rev. 200 boards). * Patch by Vladimir Gurevich, 12 Mar 2003: Fix relocation problem of statically initialized string pointers in common/cmd_pci.c * Patch by Kai-Uwe Blöm, 12 Mar 2003: Cleanup & bug fixes for JFFS2 code: - the memory mangement was broken. It caused havoc on malloc by writing beyond the block boundaries. - the length calculation for files was wrong, sometimes resulting in short file reads. - data copying now optionally takes fragment version numbers into account, to avoid copying from older data. See doc/README.JFFS2 for details.
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 43d76fd818..6d39080d8f 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -51,6 +51,9 @@
* repeatedly to change the speed and slave addresses.
*/
void i2c_init(int speed, int slaveaddr);
+#ifdef CFG_I2C_INIT_BOARD
+void i2c_init_board(void);
+#endif
/*
* Probe the given I2C chip address. Returns 0 if a chip responded,
OpenPOWER on IntegriCloud