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