xilinx: board: Add support for additional card detection
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Aug 2020 10:57:05 +0000 (12:57 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commita03b594738f8b5980fecda9946b1be31cc087e56
treeedb6aaaf914acd5357db2df362075e105b4d3434
parentd61728c8e87e4a318497a4b0873e8b656aa30a08
xilinx: board: Add support for additional card detection

The most of Xilinx evaluation boards have FMC connectors which contain
small eeprom for card identification. That's why read content of eeprom and
record it.
Also generate cardX_ variables for easier script handling.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/board.c