]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/lib/bootm.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / arch / arc / lib / bootm.c
index 04d9d9cce574cf0c98306f959bf1fedfb730a699..a498ce5b297c69724f9c59bf2b486f1d0414da23 100644 (file)
@@ -37,6 +37,11 @@ void arch_lmb_reserve(struct lmb *lmb)
        lmb_reserve(lmb, sp, (CONFIG_SYS_SDRAM_BASE + gd->ram_size - sp));
 }
 
+int arch_fixup_fdt(void *blob)
+{
+       return 0;
+}
+
 static int cleanup_before_linux(void)
 {
        disable_interrupts();
@@ -80,7 +85,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
                r2 = (unsigned int)images->ft_addr;
        } else {
                r0 = 1;
-               r2 = (unsigned int)getenv("bootargs");
+               r2 = (unsigned int)env_get("bootargs");
        }
 
        smp_set_core_boot_addr((unsigned long)kernel_entry, -1);