* [U-Boot-Users] [PATCH] mpc8260: add fdt_fixup_ethernet support
@ 2008-06-18 9:03 Esben Haabendal
2008-07-05 22:32 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Esben Haabendal @ 2008-06-18 9:03 UTC (permalink / raw)
To: u-boot
Add support for updating mac-address and local-mac-address in fdt for
all MPC8260 targets.
Signed-off-by: Esben Haabendal <eha@doredevelopment.dk>
---
cpu/mpc8260/cpu.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c
index 414759e..4d5d141 100644
--- a/cpu/mpc8260/cpu.c
+++ b/cpu/mpc8260/cpu.c
@@ -305,6 +305,11 @@ void ft_cpu_setup (void *blob, bd_t *bd)
{
char * cpu_path = "/cpus/" OF_CPU;
+#if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) ||\
+ defined(CONFIG_HAS_ETH2) || defined(CONFIG_HAS_ETH3)
+ fdt_fixup_ethernet(blob, bd);
+#endif
+
do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);
do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);
do_fixup_by_path_u32(blob, cpu_path, "clock-frequency",
bd->bi_intfreq, 1);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] mpc8260: add fdt_fixup_ethernet support
2008-06-18 9:03 [U-Boot-Users] [PATCH] mpc8260: add fdt_fixup_ethernet support Esben Haabendal
@ 2008-07-05 22:32 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-07-05 22:32 UTC (permalink / raw)
To: u-boot
In message <4858CF7D.7020101@gmail.com> you wrote:
> Add support for updating mac-address and local-mac-address in fdt for
> all MPC8260 targets.
>
> Signed-off-by: Esben Haabendal <eha@doredevelopment.dk>
> ---
> cpu/mpc8260/cpu.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
Applied, after fixing the line wrapping of your mailer that corrupted
the patch.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
e-credibility: the non-guaranteeable likelihood that the electronic
data you're seeing is genuine rather than somebody's made-up crap.
- Karl Lehenbauer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-05 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 9:03 [U-Boot-Users] [PATCH] mpc8260: add fdt_fixup_ethernet support Esben Haabendal
2008-07-05 22:32 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox