xilinx: Consolidate board_fit_config_name_match() for Xilinx platforms
authorMichal Simek <michal.simek@xilinx.com>
Mon, 26 Oct 2020 11:26:13 +0000 (12:26 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Oct 2020 07:55:43 +0000 (08:55 +0100)
commit05af4834ad6b78377cb5eb50659a5d08b83e3813
tree206600a1f2ced4a0f258ce1e03594da515945c65
parent728d21b8c75e3c13a19b4a555d08a4478efa8fe6
xilinx: Consolidate board_fit_config_name_match() for Xilinx platforms

Move board_fit_config_name_match() from Zynq/ZynqMP to common location.
This change will open a way to use it also by Microblaze and Versal.
Through this function there is a way to handle images with multiple DTBs.
For now match it with DEVICE_TREE as is done for Zynq.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/spl.c
arch/arm/mach-zynqmp/spl.c
board/xilinx/common/board.c