xilinx: Add support for generic board detection
authorMichal Simek <michal.simek@xilinx.com>
Fri, 23 Jul 2021 07:59:59 +0000 (09:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 26 Aug 2021 06:14:43 +0000 (08:14 +0200)
commit88232532728c91d69a1f5efb219f6cd7fc030461
treee81e206ad5cfa74f99f7522405ac269516bf6f54
parentb262863bf8881542b7fad73563b3d6827df3f4b7
xilinx: Add support for generic board detection

Add support for changing DT at run time. It is done via board_detection()
which returns platform_id and platform_version which can be used via
board_name_decode() to compose board_local_name string which corresponds
with DT which is should be used.

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