summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-09-14 19:16:30 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-19 17:52:44 +0100
commit3ea11cacdd46226638184371ce5137caa33727ab (patch)
treec02cd69219da19fe38dbe8fbc9674e9e55afe780 /arch
parent9fd6826611d345a780217631defb535254e7953c (diff)
downloadu-boot-imx-3ea11cacdd46226638184371ce5137caa33727ab.zip
u-boot-imx-3ea11cacdd46226638184371ce5137caa33727ab.tar.gz
u-boot-imx-3ea11cacdd46226638184371ce5137caa33727ab.tar.bz2
arm, fdt: update ethernet mac address before booting Linux
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 802e833..afa0093 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -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();