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

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Dec 19 11:05:38 CET 2011


Hi Heiko,

Le 15/09/2011 07:16, Heiko Schocher a écrit :
> 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();

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list