arm: restore fdt_fixup_ethernet call to do_bootm_linux
authorStephen Warren <swarren@nvidia.com>
Thu, 19 Apr 2012 11:09:49 +0000 (11:09 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 23 Apr 2012 20:11:18 +0000 (22:11 +0200)
Commit 0a672d4 "arm: Add Prep subcommand support to bootm" re-organized
do_bootm_linux for ARM. During the re-organization, the call to
fdt_fixup_ethernet() was removed. I assume this was useful, so add it
back.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Tom Rini <trini@ti.com>
arch/arm/lib/bootm.c

index cba457fcc9ee1a8b7edd79cc965de16501c65dd6..599547d2c8a3b2cf5b825203e93fd408d14dba2a 100644 (file)
@@ -256,6 +256,7 @@ static int create_fdt(bootm_headers_t *images)
 
        fdt_chosen(*of_flat_tree, 1);
        fixup_memory_node(*of_flat_tree);
+       fdt_fixup_ethernet(*of_flat_tree);
        fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
 
        return 0;