mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -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
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user