Merge git://www.denx.de/git/u-boot-imx
[platform/kernel/u-boot.git] / board / phytec / pfla02 / pfla02.c
index 54e88c6..8d2ce63 100644 (file)
@@ -392,7 +392,7 @@ int board_late_init(void)
 #endif
 
        snprintf(buf, sizeof(buf), "%d", get_board_rev());
-       setenv("board_rev", buf);
+       env_set("board_rev", buf);
 
        return 0;
 }