summaryrefslogtreecommitdiffstats
path: root/board/compulab/common/eeprom.c
Commit message (Collapse)AuthorAgeFilesLines
* compulab: eeprom: add default eeprom busNikita Kiryanov2014-10-091-0/+4
| | | | | | | | | | | Add default eeprom bus setting. This addresses the trimslice compile error that was introduced with the addition of this setting. Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
* compulab: eeprom: add support for defining eeprom i2c busNikita Kiryanov2014-09-091-1/+12
| | | | | | | | | | | | | | | 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 <grinberg@compulab.co.il> Cc: Dmitry Lifshitz <lifshitz@compulab.co.il> Cc: Tom Rini <trini@ti.com> Cc: Marek Vasut <marex@denx.de> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
* compulab: eeprom: add default eeprom addressIgor Grinberg2014-05-231-0/+5
| | | | | | Add default eeprom address setting. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
* cm-t35: move the eeprom code to common placeIgor Grinberg2013-11-011-0/+121
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 <grinberg@compulab.co.il> Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
OpenPOWER on IntegriCloud