ti: common: am6: Add support for board description EEPROM
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Jun 2019 23:08:24 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:13:18 +0000 (11:13 -0400)
commit361a53308ddfa7401223a523a8c38fc1dcc75481
tree458d147157c0a41ffb29ee0f1370fb01b8fa58fd
parent96905a39d3a07e00c209e373b51c32c536ecdd38
ti: common: am6: Add support for board description EEPROM

The AM654x EVM based on the TI K3 family of SoCs have an updated board
detection EEPROM structure, now comprising variable-sized TLV-type
records, containing a superset of what is already being provided on
earlier platforms such as DRA7. Add basic support for parsing the new
data structures contained on the base board into the common TI EEPROM
structure while also providing infrastructure that can be used later on
to parse data from additional EEPROMs such as the ones that are used on
daughtercards for this platform.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/common/board_detect.c
board/ti/common/board_detect.h