summaryrefslogtreecommitdiff
path: root/board/udoo/udoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/udoo/udoo.c')
-rw-r--r--board/udoo/udoo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c
index 7534935dde..a359626b81 100644
--- a/board/udoo/udoo.c
+++ b/board/udoo/udoo.c
@@ -255,9 +255,9 @@ int board_late_init(void)
{
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
if (is_cpu_type(MXC_CPU_MX6Q))
- setenv("board_rev", "MX6Q");
+ env_set("board_rev", "MX6Q");
else
- setenv("board_rev", "MX6DL");
+ env_set("board_rev", "MX6DL");
#endif
return 0;
}