]> Git Repo - J-u-boot.git/commitdiff
board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL
authorMing Liu <[email protected]>
Fri, 23 Jul 2021 06:39:48 +0000 (09:39 +0300)
committerStefano Babic <[email protected]>
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 <[email protected]>
Signed-off-by: Oleksandr Suvorov <[email protected]>
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)
 {
 }
This page took 0.040865 seconds and 4 git commands to generate.