Skip to content
Snippets Groups Projects
Commit ee4ae383 authored by Esben Haabendal's avatar Esben Haabendal Committed by Wolfgang Denk
Browse files

mpc8260: add fdt_fixup_ethernet support


Add support for updating mac-address and local-mac-address in fdt for
all MPC8260 targets.

Signed-off-by: default avatarEsben Haabendal <eha@doredevelopment.dk>
parent f6a69559
No related branches found
No related tags found
No related merge requests found
...@@ -305,6 +305,11 @@ void ft_cpu_setup (void *blob, bd_t *bd) ...@@ -305,6 +305,11 @@ void ft_cpu_setup (void *blob, bd_t *bd)
{ {
char * cpu_path = "/cpus/" OF_CPU; 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, "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, "timebase-frequency", OF_TBCLK, 1);
do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1); do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment