compulab: add support for layout aware eeprom commands
authorNikita Kiryanov <nikita@compulab.co.il>
Sat, 16 Apr 2016 14:55:04 +0000 (17:55 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 20 May 2016 21:02:07 +0000 (17:02 -0400)
commit8af5734b4e9322a9af8640ba1af48ebe14ebf6c3
tree360cee6d9e6303a7f5b10ee69d9094c8e1dffa3b
parentaa9e60441095ee3f20a109742e3ba5cdfd28458b
compulab: add support for layout aware eeprom commands

Add layout definitions and implement functions for field printing/updating,
layout detection, layout assignment, and layout parsing.

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
board/compulab/common/eeprom.c