summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynqmp
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-12-09 10:39:19 +0300
committerMichal Simek <michal.simek@xilinx.com>2020-01-14 11:05:53 +0300
commitb4f8468187e7bc702a0e38815684e84f8a258812 (patch)
tree220529cc0345b5e68ed9554a79308cc51f516734 /arch/arm/mach-zynqmp
parentde79ca951255deba6d303a1fd3668072b24e81ab (diff)
downloadu-boot-b4f8468187e7bc702a0e38815684e84f8a258812.tar.xz
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 <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r--arch/arm/mach-zynqmp/spl.c2
1 files changed, 1 insertions, 1 deletions
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