13 Sep, 2015
3 commits
-
Introduce cl_eeprom_get_product_name() for obtaining product name
from the eeprom.Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov -
cl_eeprom_read_mac_addr() doesn't differentiate between success case and
inability to access eeprom. Fix this by propagating the return value of
cl_eeprom_setup().Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
Acked-by: Igor Grinberg -
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
Cc: Igor Grinberg
Acked-by: Igor Grinberg
Signed-off-by: Nikita Kiryanov
30 Jan, 2015
1 commit
-
Implement the option to select the eeprom i2c bus when reading mac
address.Signed-off-by: Nikita Kiryanov
Cc: Stefano Babic
Cc: Igor Grinberg
Cc: Ilya Ledvich
Cc: Dmitry Lifshitz
Acked-by: Igor Grinberg
07 Nov, 2014
1 commit
-
Move board revision handling code to a common location
for further reuse.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini
09 Oct, 2014
1 commit
-
Add default eeprom bus setting.
This addresses the trimslice compile error that was introduced
with the addition of this setting.Cc: Albert ARIBAUD
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
Acked-by: Igor Grinberg
09 Sep, 2014
1 commit
-
Create CONFIG_SYS_I2C_EEPROM_BUS #define to tell the EEPROM
module what I2C bus the EEPROM is located at. Make cl_eeprom_read()
switch to that bus when reading EEPROM.Cc: Igor Grinberg
Cc: Dmitry Lifshitz
Cc: Tom Rini
Cc: Marek Vasut
Acked-by: Igor Grinberg
Acked-by: Dmitry Lifshitz
Reviewed-by: Marek Vasut
Signed-off-by: Nikita Kiryanov
24 May, 2014
1 commit
-
Add default eeprom address setting.
Signed-off-by: Igor Grinberg
02 Nov, 2013
1 commit
-
Compulab boards use the same eeprom code, so move the eeprom related
code to live under board/compulab/common directory.
Also make several adjustments to eeprom functions namespace, so it will
be generic for compulab boards.Signed-off-by: Igor Grinberg
Tested-by: Nikita Kiryanov