From: Michal Simek Date: Mon, 9 Dec 2019 07:39:19 +0000 (+0100) Subject: arm64: zynqmp: Fix return value of board_fit_config_name_match X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b4f8468187e7bc702a0e38815684e84f8a258812;p=u-boot.git arm64: zynqmp: Fix return value of board_fit_config_name_match Empty implementation should not return 0 (success) because that mean that passed name matches the board configuration. Signed-off-by: Michal Simek --- diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index c0398b9116..095b4e61a5 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -132,6 +132,6 @@ 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 0; + return -1; } #endif