diff options
author | Nikita Kiryanov | 2015-09-06 11:48:35 +0300 |
---|---|---|
committer | Stefano Babic | 2015-09-13 10:35:06 +0200 |
commit | 72898ac7b80b42060b30d17cf185ea7a01194840 (patch) | |
tree | 796d7d644ad15af4c98b539a3be3391a026347cf /board/compulab/cm_fx6 | |
parent | d9cbb264e8c277af0ae8c55bac01b8564dfc3f9c (diff) |
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>
Diffstat (limited to 'board/compulab/cm_fx6')
-rw-r--r-- | board/compulab/cm_fx6/cm_fx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index e3db9d5b9bd..cb741e8aef7 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -689,7 +689,7 @@ int dram_init(void) u32 get_board_rev(void) { - return cl_eeprom_get_board_rev(); + return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS); } static struct mxc_serial_platdata cm_fx6_mxc_serial_plat = { |