summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2011-09-14 19:16:30 +0000
committerAlbert ARIBAUD <[email protected]>2011-12-19 17:52:44 +0100
commit3ea11cacdd46226638184371ce5137caa33727ab (patch)
treec02cd69219da19fe38dbe8fbc9674e9e55afe780
parent9fd6826611d345a780217631defb535254e7953c (diff)
arm, fdt: update ethernet mac address before booting Linux
Signed-off-by: Heiko Schocher <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Gerald van Baren <[email protected]> Acked-by: Wolfgang Denk <[email protected]>
-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 802e833a2ed..afa0093df76 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();