From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 23 Oct 2007 14:34:06 -0500 Subject: [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260 In-Reply-To: <1192605168.3174.17.camel@p60635-ste.ids.de> References: <1192605168.3174.17.camel@p60635-ste.ids.de> Message-ID: <20071023193406.GA4943@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 17, 2007 at 09:12:48AM +0200, Sergej Stepanov wrote: > +void ft_cpu_setup (void *blob, bd_t *bd) > +{ > + char * cpu_path = "/cpus/" OF_CPU; > + > + do_fixup_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1); > + do_fixup_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1); > + do_fixup_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1); > +} You should also fix up /soc/cpm/brg/clock-frequency. -Scott