summaryrefslogtreecommitdiff
path: root/board/engicam/geam6ul/geam6ul.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/engicam/geam6ul/geam6ul.c')
-rw-r--r--board/engicam/geam6ul/geam6ul.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/board/engicam/geam6ul/geam6ul.c b/board/engicam/geam6ul/geam6ul.c
index c992035407..841ade98c5 100644
--- a/board/engicam/geam6ul/geam6ul.c
+++ b/board/engicam/geam6ul/geam6ul.c
@@ -90,29 +90,10 @@ void setup_gpmi_nand(void)
}
#endif /* CONFIG_NAND_MXS */
-int board_late_init(void)
+void setenv_fdt_file(void)
{
- switch ((imx6_src_get_boot_mode() & IMX6_BMODE_MASK) >>
- IMX6_BMODE_SHIFT) {
- case IMX6_BMODE_SD:
- case IMX6_BMODE_ESD:
-#ifdef CONFIG_ENV_IS_IN_MMC
- mmc_late_init();
-#endif
- setenv("modeboot", "mmcboot");
- break;
- case IMX6_BMODE_NAND:
- setenv("modeboot", "nandboot");
- break;
- default:
- setenv("modeboot", "");
- break;
- }
-
if (is_mx6ul())
setenv("fdt_file", "imx6ul-geam-kit.dtb");
-
- return 0;
}
#ifdef CONFIG_SPL_BUILD