From: Wolfgang Denk Date: Tue, 25 Mar 2008 22:23:16 +0100 Subject: [U-Boot-Users] [PATCH 3/3] 8xx: Update and extend 8xx fdt support - resubmit In-Reply-To: Your message of "Fri, 15 Feb 2008 01:06:51 GMT." <20080215010651.6b9199b6@neuromancer.mindspace> Message-ID: <20080325212316.445B8243A7@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20080215010651.6b9199b6@neuromancer.mindspace> you wrote: > Attached patch updates the 8xx fdt support for 8xx. As pointed out by Scott > Wood - OF_CPU, OF_TBCLK aren't needed and get_tbclk() should be used instead of > bd->bi_busfreq. > > Signed-off-by: Bryan O'Donoghue ... > --- a/cpu/mpc8xx/cpu.c > +++ b/cpu/mpc8xx/cpu.c > @@ -637,14 +637,3 @@ void reset_8xx_watchdog (volatile immap_t * immr) > > #endif /* CONFIG_WATCHDOG */ > > -/* ------------------------------------------------------------------------- */ > -#if defined(CONFIG_OF_LIBFDT) > -void ft_cpu_setup (void *blob, bd_t *bd) > -{ > - char * cpu_path = "/cpus/" OF_CPU; > - > - 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); -} ^^^^^^^^^^^^^^^^^^^^^^^^ Patch is line-wrapped and does not apply. Please resubmit. 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 Your csh still thinks true is false. Write to your vendor today and tell them that next year Configure ought to "rm /bin/csh" unless they fix their blasted shell. :-) - Larry Wall in Configure from the perl distribution