diff options
| author | Marek Vasut <[email protected]> | 2015-11-10 20:53:31 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-11-21 21:50:26 -0500 |
| commit | 354e3ed754fea744ff412b1e015b696db08320e3 (patch) | |
| tree | b46abf0507aac3f67b8940660fd60cb2612bb828 /lib/tiny-printf.c | |
| parent | 1a37889b0ad084a740b4f785031d7ae9955d947b (diff) | |
eeprom: Add bus argument to eeprom_init()
Add bus argument to eeprom_init(), so that it can select
the I2C bus number on which the eeprom resides. Any negative
value of the $bus argument will preserve the old behavior.
This is in place so that old code does not randomly break.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Heiko Schocher <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
[trini: Wrap i2c_set_bus_num() call with CONFIG_SYS_I2C test]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions
