ARM: zynq: Add support for SPL_LOAD_FIT
authorMichal Simek <michal.simek@xilinx.com>
Tue, 3 May 2016 12:20:17 +0000 (14:20 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 09:15:00 +0000 (11:15 +0200)
Enable minimal function to be able to compile SPL_LOAD_FIT.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/spl.c

index 723019d..9988965 100644 (file)
@@ -90,3 +90,13 @@ __weak void ps7_init(void)
         * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
         */
 }
+
+#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 0;
+}
+#endif