]> git.sur5r.net Git - u-boot/commitdiff
board: engicam: spl: match icore-mipi fit-config
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 2 Jun 2018 11:55:27 +0000 (17:25 +0530)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 14:48:56 +0000 (16:48 +0200)
Match imx6q-icore-mipi and imx6dl-icore-mipi dtb in
board_fit_config_name_match.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/engicam/common/spl.c

index 470d96aaedba01e364a910c9d13503578d69f2e5..1a1fe6c66a45d1b277af567f044a05b465163222 100644 (file)
@@ -43,10 +43,14 @@ int board_fit_config_name_match(const char *name)
                 return 0;
         else if (is_mx6dq() && !strcmp(name, "imx6q-icore-rqs"))
                 return 0;
+        else if (is_mx6dq() && !strcmp(name, "imx6q-icore-mipi"))
+                return 0;
         else if ((is_mx6dl() || is_mx6solo()) && !strcmp(name, "imx6dl-icore"))
                 return 0;
         else if ((is_mx6dl() || is_mx6solo()) && !strcmp(name, "imx6dl-icore-rqs"))
                 return 0;
+        else if ((is_mx6dl() || is_mx6solo()) && !strcmp(name, "imx6dl-icore-mipi"))
+                return 0;
         else
                 return -1;
 }