]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mx53loco/mx53loco.c
env: Rename setenv() to env_set()
[u-boot] / board / freescale / mx53loco / mx53loco.c
index 27d606f3105bcfe5085a7560864a41b25298c65f..ea3660368603bbc0cf1be49a4564db8ab00a8bc3 100644 (file)
@@ -246,7 +246,7 @@ static int power_init(void)
                if (!p)
                        return -ENODEV;
 
-               setenv("fdt_file", "imx53-qsb.dtb");
+               env_set("fdt_file", "imx53-qsb.dtb");
 
                /* Set VDDA to 1.25V */
                val = DA9052_BUCKCORE_BCOREEN | DA_BUCKCORE_VBCORE_1_250V;
@@ -289,7 +289,7 @@ static int power_init(void)
                if (!p)
                        return -ENODEV;
 
-               setenv("fdt_file", "imx53-qsrb.dtb");
+               env_set("fdt_file", "imx53-qsrb.dtb");
 
                /* Set VDDGP to 1.25V for 1GHz on SW1 */
                pmic_reg_read(p, REG_SW_0, &val);