From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Rigby Date: Thu, 17 Jan 2008 09:01:43 -0700 Subject: [U-Boot-Users] [PATCH] Update 5121 fdt support to match latest kernel work. In-Reply-To: <478F191C.9010703@semihalf.com> References: <1200523975-26511-1-git-send-email-jrigby@freescale.com> <478F191C.9010703@semihalf.com> Message-ID: <478F7BE7.9020107@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de address should be removed local-mac-address will be added to the device tree when I submit an ethernet patch so it should be left in u-boot. Grzegorz Bernacki wrote: > John Rigby wrote: > >> Based on reviews on the linuxppc-dev mailing list >> some changes have been made to the device tree. >> This patch updates u-boot to be in sync with those >> changes. >> >> Signed-off-by: John Rigby >> --- >> cpu/mpc512x/cpu.c | 2 -- >> include/configs/ads5121.h | 6 +++--- >> 2 files changed, 3 insertions(+), 5 deletions(-) >> >> diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c >> index 6421a51..793b62a 100644 >> --- a/cpu/mpc512x/cpu.c >> +++ b/cpu/mpc512x/cpu.c >> @@ -138,10 +138,8 @@ void ft_cpu_setup(void *blob, bd_t *bd) >> >> 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); >> - do_fixup_by_path_u32(blob, cpu_path, "ref-frequency", CFG_MPC512X_CLKIN, 1); >> do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1); >> do_fixup_by_path_u32(blob, "/" OF_SOC, "bus-frequency", bd->bi_ipsfreq, 1); >> - do_fixup_by_path_u32(blob, "/" OF_SOC, "ref-frequency", CFG_MPC512X_CLKIN, 1); >> do_fixup_by_path(blob, eth_path, "address", bd->bi_enetaddr, 6, 0); >> do_fixup_by_path(blob, eth_path, "local-mac-address", bd->bi_enetaddr, 6, 0); >> > [snip] > > What about "address" and "local-mac-address"? I cannot find it in device tree, I think you should removed it also. > > regards, > Grzesiek > >