diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2015-01-14 10:42:43 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-01-29 17:42:28 +0100 |
commit | e7a2447ba2d8483b7d029e77c59b0ee26eeabe88 (patch) | |
tree | 77691bf8d48ef3fe74a395523104a52c7f39e5a7 /board/compulab/cm_t335/cm_t335.c | |
parent | cc67f4a63ff3c6ed0b8fab35ce4af6e683296e47 (diff) | |
download | u-boot-imx-e7a2447ba2d8483b7d029e77c59b0ee26eeabe88.zip u-boot-imx-e7a2447ba2d8483b7d029e77c59b0ee26eeabe88.tar.gz u-boot-imx-e7a2447ba2d8483b7d029e77c59b0ee26eeabe88.tar.bz2 |
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>
Diffstat (limited to 'board/compulab/cm_t335/cm_t335.c')
-rw-r--r-- | board/compulab/cm_t335/cm_t335.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c index 9583149..592ef3d 100644 --- a/board/compulab/cm_t335/cm_t335.c +++ b/board/compulab/cm_t335/cm_t335.c @@ -110,7 +110,7 @@ static int handle_mac_address(void) if (rv) return 0; - rv = cl_eeprom_read_mac_addr(enetaddr); + rv = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); if (rv) get_efuse_mac_addr(enetaddr); |