summaryrefslogtreecommitdiff
path: root/board/engicam/common/board.c
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-06-18 11:12:19 +0530
committerStefano Babic <sbabic@denx.de>2018-06-27 09:51:49 +0200
commit18053a8505d353336ae784d70a52e1f96f8bae7e (patch)
treef733a9b86511913d942eaa0564edba1f1518a480 /board/engicam/common/board.c
parent7da7ff54914ca58a289bd8e0fda6e7240c545826 (diff)
imx6ul: geam: Fix fdt_file mismatch
fdt_file is looking for imx6ul-geam-kit.dtb but Linux has imx6ul-geam.dtb, since Linux skipped -kit on file name by below commit. "ARM: dts: imx6ul-geam: Skip suffix -kit from dts name" (sha1: 182de5ebce71e469cfa686fcdf08c9cbe11ece97) So, due to this mismatch U-Boot failed to pick the proper dtb which eventually break the Linux boot. This patch fixed this mismatch by - renaming dts files - update config option to use new dtb file - update fdt_file to new dtb file name Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/engicam/common/board.c')
-rw-r--r--board/engicam/common/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c
index fb37403aa1..5dccb17cb2 100644
--- a/board/engicam/common/board.c
+++ b/board/engicam/common/board.c
@@ -50,8 +50,8 @@ static void setenv_fdt_file(void)
env_set("fdt_file", "imx6q-icore-rqs.dtb");
else if (is_mx6dl() || is_mx6solo())
env_set("fdt_file", "imx6dl-icore-rqs.dtb");
- } else if (!strcmp(cmp_dtb, "imx6ul-geam-kit"))
- env_set("fdt_file", "imx6ul-geam-kit.dtb");
+ } else if (!strcmp(cmp_dtb, "imx6ul-geam"))
+ env_set("fdt_file", "imx6ul-geam.dtb");
else if (!strcmp(cmp_dtb, "imx6ul-isiot-mmc"))
env_set("fdt_file", "imx6ul-isiot-emmc.dtb");
else if (!strcmp(cmp_dtb, "imx6ul-isiot-emmc"))