]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/engicam/icorem6_rqs/icorem6_rqs.c
icorem6: Make SPL to pick suitable fdt
[people/ms/u-boot.git] / board / engicam / icorem6_rqs / icorem6_rqs.c
index e95c165d411ad07aa378cc91073c1dbb88e77849..2027b283ace85fdc85744e45db437d0a45192a7a 100644 (file)
@@ -224,6 +224,18 @@ void board_boot_order(u32 *spl_boot_list)
 #endif
 #endif
 
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+       if (is_mx6dq() && !strcmp(name, "imx6q-icore-rqs"))
+               return 0;
+       else if ((is_mx6dl() || is_mx6solo()) && !strcmp(name, "imx6dl-icore-rqs"))
+               return 0;
+       else
+               return -1;
+}
+#endif
+
 /*
  * Driving strength:
  *   0x30 == 40 Ohm