public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration
Date: Wed, 09 Jan 2013 21:15:48 +0100	[thread overview]
Message-ID: <20130109201548.97EE1202B9C@gemini.denx.de> (raw)
In-Reply-To: <1357669446-29334-1-git-send-email-barry@grussling.com>

Dear Barry Grussling,

In message <1357669446-29334-1-git-send-email-barry@grussling.com> you wrote:
> While trying to bring up a custom MPC8308 based board I found
> that the clocking was wrong.  The comment in
> include/configs/mpc8308_p1m.h led me to believe
> setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the
> CONFIG_SYS_HRCW_HIGH should allow the system to work, but on
> my newer version of the 8308 this is not working.  Setting
> the HRCWH_PCI_HOST bit (which doesn't exist according to the manual)
> doesn't latch, and as such the im->reset.rcwh & HRCWH_PCI_HOST test
> in speed.c fails.  Since this board is running off the
> CONFIG_83XX_CLKIN and is not a PCI client, I end up with 0xdeadbeef
> and hosed clock values.
> 
> This patch allows for proper clocks on the 8308 as a workaround
> for the lack of HRCWH_PCI_HOST support.

You say this patchis working on "your newer version of the 8308".  Can
you please be specific what "old" and "new" actually means here?

And has this patch been tested to also work on the "old" versions of
the 8308?


> +#elif defined(CONFIG_83XX_CLKIN) && defined(CONFIG_MPC8308)
> +	/* 8308 doesn't have the HRCWH_PCI_HOST, but should 
> +	 * run off the CONFIG_83XX_CLKIN */

Incorrect multiline comment style.

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
"May your future be limited only by your dreams."
- Christa McAuliffe

  parent reply	other threads:[~2013-01-09 20:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 18:24 [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration Barry Grussling
2013-01-09  1:18 ` Kim Phillips
2013-01-09  2:25   ` [U-Boot] [PATCH V2] " Barry Grussling
2013-01-15  0:59     ` Kim Phillips
2013-01-15  7:15       ` Gerlando Falauto
2013-01-15 19:39       ` Ira W. Snyder
2013-01-18  0:48         ` Kim Phillips
2013-01-09  2:29   ` [U-Boot] [PATCH] " Barry Grussling
2013-01-09 20:15 ` Wolfgang Denk [this message]
2013-01-10  4:13   ` Barry Grussling

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=20130109201548.97EE1202B9C@gemini.denx.de \
    --to=wd@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox