diff options
| author | Wolfgang Denk <wd@denx.de> | 2008-07-10 22:09:39 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 22:09:39 +0200 |
| commit | 4b13860e746b65e796213f2c97de8a80db8b68be (patch) | |
| tree | df6524ccfaf6ee1547ecacb13f52f57198926ce1 /cpu/mpc512x/cpu.c | |
| parent | 79d14faf5471b7fdc4244cb6299e94e8170d826e (diff) | |
| parent | f31c49db2a5e076f415c0785eb37f67f2faa5fc8 (diff) | |
| download | olio-uboot-2014.01-4b13860e746b65e796213f2c97de8a80db8b68be.tar.xz olio-uboot-2014.01-4b13860e746b65e796213f2c97de8a80db8b68be.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x
Diffstat (limited to 'cpu/mpc512x/cpu.c')
| -rw-r--r-- | cpu/mpc512x/cpu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c index bed77acaa..b59f36d5f 100644 --- a/cpu/mpc512x/cpu.c +++ b/cpu/mpc512x/cpu.c @@ -133,8 +133,9 @@ void watchdog_reset (void) #ifdef CONFIG_OF_LIBFDT void ft_cpu_setup(void *blob, bd_t *bd) { - char * cpu_path = "/cpus/" OF_CPU; - char * eth_path = "/" OF_SOC "/ethernet@2800"; + char *cpu_path = "/cpus/" OF_CPU; + char *eth_path = "/" OF_SOC "/ethernet@2800"; + char *eth_path_old = "/" OF_SOC_OLD "/ethernet@2800"; do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1); do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1); @@ -144,5 +145,8 @@ void ft_cpu_setup(void *blob, bd_t *bd) /* this is so old kernels with old device trees will boot */ do_fixup_by_path_u32(blob, "/" OF_SOC_OLD, "bus-frequency", bd->bi_ipsfreq, 0); + do_fixup_by_path(blob, eth_path_old, "local-mac-address", + bd->bi_enetaddr, 6, 0); + do_fixup_by_path(blob, eth_path_old, "address", bd->bi_enetaddr, 6, 0); } #endif |