[U-Boot] [PATCH] arm, fdt: update ethernet mac address before booting Linux

Heiko Schocher hs at denx.de
Thu Sep 15 07:16:30 CEST 2011


Signed-off-by: Heiko Schocher <hs at denx.de>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
Cc: Gerald van Baren <gvb.uboot at gmail.com>
---
 arch/arm/lib/bootm.c |    2 ++
 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();
-- 
1.7.6



More information about the U-Boot mailing list