diff options
author | Jagan Teki <jagannadh.teki@gmail.com> | 2017-11-21 00:02:10 +0530 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-11-27 10:36:40 +0100 |
commit | 409b16d3e09da3c738b925311e3e59068558618d (patch) | |
tree | 76852c08ed79ce54f3bf0730833251b5b9aa4c4d /board/engicam/isiotmx6ul | |
parent | f086812acd3f8dad365ab328e426178ca36a8408 (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/isiotmx6ul')
-rw-r--r-- | board/engicam/isiotmx6ul/isiotmx6ul.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/engicam/isiotmx6ul/isiotmx6ul.c b/board/engicam/isiotmx6ul/isiotmx6ul.c index fbf17242f8..9afa8e4065 100644 --- a/board/engicam/isiotmx6ul/isiotmx6ul.c +++ b/board/engicam/isiotmx6ul/isiotmx6ul.c @@ -98,17 +98,6 @@ int board_mmc_get_env_dev(int devno) } #endif -void setenv_fdt_file(void) -{ - if (is_mx6ul()) { -#ifdef CONFIG_ENV_IS_IN_MMC - env_set("fdt_file", "imx6ul-isiot-emmc.dtb"); -#else - env_set("fdt_file", "imx6ul-isiot-nand.dtb"); -#endif - } -} - #ifdef CONFIG_SPL_BUILD #include <spl.h> |