diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-12-09 08:39:19 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-01-14 09:05:53 +0100 |
commit | b4f8468187e7bc702a0e38815684e84f8a258812 (patch) | |
tree | 220529cc0345b5e68ed9554a79308cc51f516734 /arch/arm | |
parent | de79ca951255deba6d303a1fd3668072b24e81ab (diff) | |
download | u-boot-b4f8468187e7bc702a0e38815684e84f8a258812.tar.gz u-boot-b4f8468187e7bc702a0e38815684e84f8a258812.tar.xz u-boot-b4f8468187e7bc702a0e38815684e84f8a258812.zip |
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')
-rw-r--r-- | arch/arm/mach-zynqmp/spl.c | 2 |
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 |