compulab: eeprom: allow reading mac address from multiple eeproms
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 14 Jan 2015 08:42:43 +0000 (10:42 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 29 Jan 2015 16:42:28 +0000 (17:42 +0100)
commite7a2447ba2d8483b7d029e77c59b0ee26eeabe88
tree77691bf8d48ef3fe74a395523104a52c7f39e5a7
parentcc67f4a63ff3c6ed0b8fab35ce4af6e683296e47
compulab: eeprom: allow reading mac address from multiple eeproms

Implement the option to select the eeprom i2c bus when reading mac
address.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Ilya Ledvich <ilya@compulab.co.il>
Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_t335/cm_t335.c
board/compulab/cm_t35/cm_t35.c
board/compulab/cm_t3517/cm_t3517.c
board/compulab/cm_t54/cm_t54.c
board/compulab/common/eeprom.c
board/compulab/common/eeprom.h