]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL
authorMing Liu <ming.liu@toradex.com>
Fri, 23 Jul 2021 06:39:48 +0000 (09:39 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 11:09:29 +0000 (13:09 +0200)
Only one dtb is currently supported, so match with imx6-colibri.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
board/toradex/colibri_imx6/colibri_imx6.c

index c0e77544696bfd1a9ebea6589bb13990fb05b50f..587d92a8e997fce87918c74e1988610f71f72940 100644 (file)
@@ -1081,6 +1081,16 @@ void board_init_f(ulong dummy)
        board_init_r(NULL, 0);
 }
 
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+       if (!strcmp(name, "imx6-colibri"))
+               return 0;
+
+       return -1;
+}
+#endif
+
 void reset_cpu(void)
 {
 }