public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ppc440: EBC 32-bit bus width setting
Date: Thu, 24 Apr 2008 07:19:57 +0200	[thread overview]
Message-ID: <200804240719.57720.sr@denx.de> (raw)
In-Reply-To: <480FAE0C.7040407@isoar.ca>

On Wednesday 23 April 2008, Andrew E. Mileski wrote:
> This affects EBC_BXCR_BW_32BIT defined in include/ppc440.h
>
> According to the AMCC 440EPx User Manual (v1.14), pg 591, figure 22-18,
> BW (bits 17:18) should be 10 for a 32-bit bus width.  This is also
> repeated for the NAND controller, section 23.4.5 on pg 600.
>
> According to the IBM 440GX User's Manual (November 21, 2003), pg 1037,
> figure 30-23, BW (bits 17:18) should be 11.  A rather old manual.
>
> Can others help confirm the settings for these processors and other 440
> family members.

I suspect that both manuals are correct and the register bit setting are 
incompatible. Best would be if you send a patch to fix this in U-Boot. 
Something like:

#if defined(CONFIG_440GX)
#define EBC_BXCR_BW_32BIT               0x00006000
#else
#define EBC_BXCR_BW_32BIT               0x00004000
#endif

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      reply	other threads:[~2008-04-24  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 21:45 [U-Boot-Users] ppc440: EBC 32-bit bus width setting Andrew E. Mileski
2008-04-24  5:19 ` Stefan Roese [this message]

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=200804240719.57720.sr@denx.de \
    --to=sr@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