[U-Boot] [PATCH] board: engicam: Remove bogus check for mmc for imx6ul isiot

Shyam Saini shyam.saini at amarulasolutions.com
Mon Jun 17 12:37:13 UTC 2019


imx6ul-isiot-mmc.dts was removed in uboot version v2018.03 and from then
onwards IMX6UL isiot uses imx6ul-isiot-emmc.dts for mmc, so remove
unnecessary check for mmc.

Signed-off-by: Shyam Saini <shyam.saini at amarulasolutions.com>
---
 board/engicam/common/board.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c
index 7486f0ac2d..567b9f63e5 100644
--- a/board/engicam/common/board.c
+++ b/board/engicam/common/board.c
@@ -53,8 +53,6 @@ static void setenv_fdt_file(void)
 			env_set("fdt_file", "imx6dl-icore-rqs.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"))
 		env_set("fdt_file", "imx6ul-isiot-emmc.dtb");
 	else if (!strcmp(cmp_dtb, "imx6ul-isiot-nand"))
-- 
2.11.0



More information about the U-Boot mailing list