]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/engicam/icorem6/icorem6.c
engicam: Set fdt_file env during run-time
[people/ms/u-boot.git] / board / engicam / icorem6 / icorem6.c
index 55fc77fe04bc52dfbf32c3907b14b73da26fdcc9..0687329165d5268a3998a8d9233d541034800a27 100644 (file)
@@ -243,6 +243,11 @@ int board_late_init(void)
                break;
        }
 
+       if (is_mx6dq())
+               setenv("fdt_file", "imx6q-icore.dtb");
+       else if(is_mx6dl() || is_mx6solo())
+               setenv("fdt_file", "imx6dl-icore.dtb");
+
        return 0;
 }