aboutsummaryrefslogtreecommitdiff
path: root/board/engicam/icorem6/icorem6.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/engicam/icorem6/icorem6.c')
-rw-r--r--board/engicam/icorem6/icorem6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/engicam/icorem6/icorem6.c b/board/engicam/icorem6/icorem6.c
index 5b2ed066b49..3d4f713c3e2 100644
--- a/board/engicam/icorem6/icorem6.c
+++ b/board/engicam/icorem6/icorem6.c
@@ -195,9 +195,9 @@ void setup_display(void)
void setenv_fdt_file(void)
{
if (is_mx6dq())
- setenv("fdt_file", "imx6q-icore.dtb");
+ env_set("fdt_file", "imx6q-icore.dtb");
else if(is_mx6dl() || is_mx6solo())
- setenv("fdt_file", "imx6dl-icore.dtb");
+ env_set("fdt_file", "imx6dl-icore.dtb");
}
#ifdef CONFIG_SPL_BUILD