summaryrefslogtreecommitdiff
path: root/board/congatec/cgtqmx6eval/cgtqmx6eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/congatec/cgtqmx6eval/cgtqmx6eval.c')
-rw-r--r--board/congatec/cgtqmx6eval/cgtqmx6eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
index 5cb97b4778..ac66248b3f 100644
--- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c
+++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c
@@ -755,9 +755,9 @@ int board_late_init(void)
{
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
if (is_mx6dq())
- setenv("board_rev", "MX6Q");
+ env_set("board_rev", "MX6Q");
else
- setenv("board_rev", "MX6DL");
+ env_set("board_rev", "MX6DL");
#endif
return 0;