* [U-Boot-Users] [DNX#2007021242000043] [PATCH] 5xxx: write MAC address to mac-address and [...]
@ 2007-02-12 21:50 OTRS Notification Master
0 siblings, 0 replies; only message in thread
From: OTRS Notification Master @ 2007-02-12 21:50 UTC (permalink / raw)
To: u-boot
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2007021242000043] was created:
<snip>
> Some device trees have a mac-address property, some have
> local-mac-address,
> and some have both. To support all of these device trees,
> ftp_cpu_setup()
> should write the MAC address to mac-address and local-mac-address, if
> they
> exist.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> cpu/mpc5xxx/cpu.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/cpu/mpc5xxx/cpu.c b/cpu/mpc5xxx/cpu.c
> index 813aa79..383e418 100644
> --- a/cpu/mpc5xxx/cpu.c
> +++ b/cpu/mpc5xxx/cpu.c
> @@ -127,5 +127,9 @@ ft_cpu_setup(void *blob, bd_t *bd)
> p = ft_get_prop(blob, "/" OF_SOC "/ethernet at 3000/mac-address", &len);
> if (p != NULL)
> memcpy(p, bd->bi_enetaddr, 6);
> +
> + p = ft_get_prop(blob, "/" OF_SOC "/ethernet at 3000/local-mac-address",
> &len);
> + if (p != NULL)
> + memcpy(p, bd->bi_enetaddr, 6);
> }
> #endif
> --
> 1.4.4
</snip>
Your U-Boot support team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-12 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 21:50 [U-Boot-Users] [DNX#2007021242000043] [PATCH] 5xxx: write MAC address to mac-address and [...] OTRS Notification Master
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.