ARM: mvebu: clearfog: read basic TLV data
authorBaruch Siach <baruch@tkos.co.il>
Mon, 20 Jan 2020 12:20:11 +0000 (14:20 +0200)
committerStefan Roese <sr@denx.de>
Tue, 21 Jan 2020 14:56:15 +0000 (15:56 +0100)
commita2e41ad2a9158d733c3b4c8e941f107309e37371
tree026a8102205a292f4916c0213d578a1ab3bf8a0a
parentcdb494962d62c7756a26f2d28111280f8d492cc0
ARM: mvebu: clearfog: read basic TLV data

Read RAM die capacity from the EEPROM TLV.

Follow the ONIE standard that defines the Vendor Extension entry type
for vendor specific data. We have no Private Enterprise Number at the
moment as the standard requires. Use the dummy all 0xff value for now.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
board/solidrun/clearfog/clearfog.c
board/solidrun/common/Makefile [new file with mode: 0644]
board/solidrun/common/tlv_data.c [new file with mode: 0644]
board/solidrun/common/tlv_data.h [new file with mode: 0644]