arm64: zynqmp: Fix return value of board_fit_config_name_match
authorMichal Simek <michal.simek@xilinx.com>
Mon, 9 Dec 2019 07:39:19 +0000 (08:39 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:53 +0000 (09:05 +0100)
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>
arch/arm/mach-zynqmp/spl.c

index c0398b91166a32260233e5aa4803008fd598cddd..095b4e61a59065f17214d055c9567491412c3d8b 100644 (file)
@@ -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