]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-imx/mx7/soc.c
env: Rename setenv() to env_set()
[people/ms/u-boot.git] / arch / arm / mach-imx / mx7 / soc.c
index 4cf977e20a30ea8dbfbda83f99645561b75c8909..7152c847d0a736cf82f8661f3497339b15b8fd62 100644 (file)
@@ -256,9 +256,9 @@ int arch_misc_init(void)
 {
 #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
        if (is_mx7d())
-               setenv("soc", "imx7d");
+               env_set("soc", "imx7d");
        else
-               setenv("soc", "imx7s");
+               env_set("soc", "imx7s");
 #endif
 
        return 0;