]> git.sur5r.net Git - u-boot/commit
compulab: eeprom: select i2c bus when querying for board rev
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 6 Sep 2015 08:48:35 +0000 (11:48 +0300)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Sep 2015 08:35:06 +0000 (10:35 +0200)
commit72898ac7b80b42060b30d17cf185ea7a01194840
tree796d7d644ad15af4c98b539a3be3391a026347cf
parentd9cbb264e8c277af0ae8c55bac01b8564dfc3f9c
compulab: eeprom: select i2c bus when querying for board rev

Add support for selecting which eeprom is queried for board revision by
extending cl_eeprom_get_board_rev() to accept an i2c bus number.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_t35/cm_t35.c
board/compulab/common/eeprom.c
board/compulab/common/eeprom.h