aboutsummaryrefslogtreecommitdiff
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c
index 264fa8a48e..3ab9a3f022 100644
--- a/arch/arm/mach-imx/mx6/opos6ul.c
+++ b/arch/arm/mach-imx/mx6/opos6ul.c
@@ -13,7 +13,7 @@
#include <asm/mach-imx/iomux-v3.h>
#include <asm/io.h>
#include <common.h>
-#include <environment.h>
+#include <env.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -127,7 +127,7 @@ int board_late_init(void)
/* In bootstrap don't use the env vars */
if (((reg & 0x3000000) >> 24) == 0x1) {
- set_default_env(NULL, 0);
+ env_set_default(NULL, 0);
env_set("preboot", "");
}