summaryrefslogtreecommitdiff
path: root/board/engicam/icorem6_rqs/icorem6_rqs.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/engicam/icorem6_rqs/icorem6_rqs.c')
-rw-r--r--board/engicam/icorem6_rqs/icorem6_rqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/engicam/icorem6_rqs/icorem6_rqs.c b/board/engicam/icorem6_rqs/icorem6_rqs.c
index 10a9471730..2a321dca50 100644
--- a/board/engicam/icorem6_rqs/icorem6_rqs.c
+++ b/board/engicam/icorem6_rqs/icorem6_rqs.c
@@ -35,9 +35,9 @@ int board_mmc_get_env_dev(int devno)
void setenv_fdt_file(void)
{
if (is_mx6dq())
- setenv("fdt_file", "imx6q-icore-rqs.dtb");
+ env_set("fdt_file", "imx6q-icore-rqs.dtb");
else if(is_mx6dl() || is_mx6solo())
- setenv("fdt_file", "imx6dl-icore-rqs.dtb");
+ env_set("fdt_file", "imx6dl-icore-rqs.dtb");
}
#ifdef CONFIG_SPL_BUILD