All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260
Date: Tue, 23 Oct 2007 14:34:06 -0500	[thread overview]
Message-ID: <20071023193406.GA4943@loki.buserror.net> (raw)
In-Reply-To: <1192605168.3174.17.camel@p60635-ste.ids.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

  parent reply	other threads:[~2007-10-23 19:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  7:12 [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260 Sergej Stepanov
2007-10-17  7:47 ` Wolfgang Denk
2007-10-17 14:34 ` [U-Boot-Users] FDT intentions in u-boot Zach Sadecki
2007-10-17 15:02   ` Jerry Van Baren
2007-10-17 16:37     ` Joakim Tjernlund
2007-10-17 17:35       ` Jerry Van Baren
2007-10-18 13:54     ` Zach Sadecki
2007-10-18 19:29       ` Jerry Van Baren
2007-10-18 22:08         ` Haavard Skinnemoen
2007-10-18 22:43           ` Jerry Van Baren
2007-10-23 19:34 ` Scott Wood [this message]
2007-10-24  7:28   ` [U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260 Sergej Stepanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071023193406.GA4943@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.