eeprom: Add support for selecting i2c bus
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:53:32 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:26 +0000 (21:50 -0500)
commitd4fec4e9881ec5d72104a6ca7bd04ec725cf5c82
tree4b7b87b4c27529b6da70829d44883f54db0e4a99
parent354e3ed754fea744ff412b1e015b696db08320e3
eeprom: Add support for selecting i2c bus

Add additional parameter into the eeprom command to select
the I2C bus on which the eeprom resides.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
common/cmd_eeprom.c