From 05af4834ad6b78377cb5eb50659a5d08b83e3813 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 26 Oct 2020 12:26:13 +0100 Subject: 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 --- arch/arm/mach-zynqmp/spl.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'arch/arm/mach-zynqmp') diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index 9dd61e25f6..88386b23e5 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -119,13 +119,3 @@ int spl_start_uboot(void) return 0; } #endif - -#ifdef CONFIG_SPL_LOAD_FIT -int board_fit_config_name_match(const char *name) -{ - /* Just empty function now - can't decide what to choose */ - debug("%s: %s\n", __func__, name); - - return -1; -} -#endif -- cgit v1.2.1