]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm, fdt: update ethernet mac address before booting Linux
authorHeiko Schocher <hs@denx.de>
Wed, 14 Sep 2011 19:16:30 +0000 (19:16 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 19 Dec 2011 16:52:44 +0000 (17:52 +0100)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Gerald van Baren <gvb.uboot@gmail.com>
Acked-by: Wolfgang Denk <wd@denx.de>
arch/arm/lib/bootm.c

index 802e833a2ed584fe1365dacd4a033665eeb2f5d7..afa0093df7620606ee12b4dc1dd2ee37adee347c 100644 (file)
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 
        fixup_memory_node(*of_flat_tree);
 
+       fdt_fixup_ethernet(*of_flat_tree);
+
        fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
 
        announce_and_cleanup();