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/geam6ul/geam6ul.c | |
parent | f086812acd3f8dad365ab328e426178ca36a8408 (diff) | |
download | u-boot-409b16d3e09da3c738b925311e3e59068558618d.tar.gz |
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/geam6ul/geam6ul.c')
-rw-r--r-- | board/engicam/geam6ul/geam6ul.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/engicam/geam6ul/geam6ul.c b/board/engicam/geam6ul/geam6ul.c index ffd383a0ee..15bd8b2c30 100644 --- a/board/engicam/geam6ul/geam6ul.c +++ b/board/engicam/geam6ul/geam6ul.c @@ -90,12 +90,6 @@ void setup_gpmi_nand(void) } #endif /* CONFIG_NAND_MXS */ -void setenv_fdt_file(void) -{ - if (is_mx6ul()) - env_set("fdt_file", "imx6ul-geam-kit.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) |