summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx6/opos6ul.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mx6/opos6ul.c')
-rw-r--r--arch/arm/mach-imx/mx6/opos6ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c
index 22b244079b..f8d7e8ee68 100644
--- a/arch/arm/mach-imx/mx6/opos6ul.c
+++ b/arch/arm/mach-imx/mx6/opos6ul.c
@@ -132,7 +132,7 @@ int board_late_init(void)
/* In bootstrap don't use the env vars */
if (((reg & 0x3000000) >> 24) == 0x1) {
set_default_env(NULL);
- setenv("preboot", "");
+ env_set("preboot", "");
}
return opos6ul_board_late_init();