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

Heiko Schocher hs at denx.de
Wed Dec 14 10:39:24 CET 2011


Hello Albert, Gerald,

Heiko Schocher wrote:
> 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();

Some comments on this patch? Can it go in, in the current release?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list