arm: Set up global data before board_init_f()
[oweals/u-boot.git] / arch / arm / lib / bootm.c
index a08586f1eb51c9b797eb69208b5a9e6a05528ace..178e8fb9e4ab88a23cffa1ba21a8413a5d42f4f5 100644 (file)
@@ -359,7 +359,7 @@ void boot_prep_vxworks(bootm_headers_t *images)
        if (images->ft_addr) {
                off = fdt_path_offset(images->ft_addr, "/memory");
                if (off < 0) {
-                       if (arch_fixup_memory_node(images->ft_addr))
+                       if (arch_fixup_fdt(images->ft_addr))
                                puts("## WARNING: fixup memory failed!\n");
                }
        }