]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/misc_gen5.c
env: Rename setenv() to env_set()
[u-boot] / arch / arm / mach-socfpga / misc_gen5.c
index 49b26b3570f9ea418833b8582098c261cba668d1..2f1da740fbe0ffe53fdf70e270ad000b8772cab8 100644 (file)
@@ -219,9 +219,9 @@ int arch_misc_init(void)
 {
        const u32 bsel = readl(&sysmgr_regs->bootinfo) & 0x7;
        const int fpga_id = socfpga_fpga_id(0);
-       setenv("bootmode", bsel_str[bsel].mode);
+       env_set("bootmode", bsel_str[bsel].mode);
        if (fpga_id >= 0)
-               setenv("fpgatype", socfpga_fpga_model[fpga_id].var);
+               env_set("fpgatype", socfpga_fpga_model[fpga_id].var);
        return socfpga_eth_reset();
 }
 #endif