summaryrefslogtreecommitdiff
path: root/board/engicam/icorem6/icorem6.c
diff options
context:
space:
mode:
authorJagan Teki <jagannadh.teki@gmail.com>2017-11-21 00:02:10 +0530
committerStefano Babic <sbabic@denx.de>2017-11-27 10:36:40 +0100
commit409b16d3e09da3c738b925311e3e59068558618d (patch)
tree76852c08ed79ce54f3bf0730833251b5b9aa4c4d /board/engicam/icorem6/icorem6.c
parentf086812acd3f8dad365ab328e426178ca36a8408 (diff)
i.MX6: engicam: Move set_fdt_file to common
setenv_fdt_file to common code and set dtb based on CONFIG_DEFAULT_DEVICE_TREE and cpu_type. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/engicam/icorem6/icorem6.c')
-rw-r--r--board/engicam/icorem6/icorem6.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/engicam/icorem6/icorem6.c b/board/engicam/icorem6/icorem6.c
index 3d4f713c3e..59c085bb2c 100644
--- a/board/engicam/icorem6/icorem6.c
+++ b/board/engicam/icorem6/icorem6.c
@@ -192,14 +192,6 @@ void setup_display(void)
}
#endif /* CONFIG_VIDEO_IPUV3 */
-void setenv_fdt_file(void)
-{
- if (is_mx6dq())
- env_set("fdt_file", "imx6q-icore.dtb");
- else if(is_mx6dl() || is_mx6solo())
- env_set("fdt_file", "imx6dl-icore.dtb");
-}
-
#ifdef CONFIG_SPL_BUILD
/* MMC board initialization is needed till adding DM support in SPL */
#if defined(CONFIG_FSL_ESDHC) && !defined(CONFIG_DM_MMC)