summaryrefslogtreecommitdiffstats
path: root/include/i2c.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-01-29 08:53:15 +0100
committerHeiko Schocher <hs@denx.de>2013-07-23 05:54:29 +0200
commitea818dbbcd59300b56014ac2d67798a54994eb9b (patch)
treefbdedc80f785873f96e79893a1a813504af57580 /include/i2c.h
parent3f4978c713255c8406875fbdf23ffed1129bc44b (diff)
downloadblackbird-obmc-uboot-ea818dbbcd59300b56014ac2d67798a54994eb9b.tar.gz
blackbird-obmc-uboot-ea818dbbcd59300b56014ac2d67798a54994eb9b.zip
i2c, soft-i2c: switch to new multibus/multiadapter support
- added to soft_i2c driver new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 3e09af9141..f532a14431 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -305,6 +305,15 @@ unsigned int i2c_get_bus_speed(void);
* Adjusts I2C pointers after U-Boot is relocated to DRAM
*/
void i2c_reloc_fixup(void);
+#if defined(CONFIG_SYS_I2C_SOFT)
+void i2c_soft_init(void);
+void i2c_soft_active(void);
+void i2c_soft_tristate(void);
+int i2c_soft_read(void);
+void i2c_soft_sda(int bit);
+void i2c_soft_scl(int bit);
+void i2c_soft_delay(void);
+#endif
#else
/*
OpenPOWER on IntegriCloud