From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] CFI interface and PPC440EP EBC chipselects
Date: Tue, 20 Apr 2010 11:21:38 +0200 [thread overview]
Message-ID: <201004201121.38455.sr@denx.de> (raw)
In-Reply-To: <FE3BE1BC8B2A1B4A94A9D464BA98C66C1D147A@synmail.corp.synrad.com>
Hi Stevan,
On Monday 19 April 2010 22:32:56 Stevan Saban wrote:
> I am porting u-boot to a PPC 440EP custom board that is very similar to
> Yosemite.
>
> I have two chips (32 MB each) of NOR flash running through ECB at CS0
> and CS1 and using the CFI interface.
>
>
>
> I was wondering where u-boot maps the chip selects so that multiple
> flash chips can be used.
>
> I have one bank running (CS0 copied from Yosemite port) but would like
> access to both.
You need to configure the CS1 EBC settings in your config header correctly for
this:
#define CONFIG_SYS_EBC_PB1AP your-values
#define CONFIG_SYS_EBC_PB1CR ...
And then add the 2nd FLASH chip to the FLASH list in the same config header.
Something like this:
#define CONFIG_SYS_FLASH_BANKS_LIST { 0xfc000000, 0xfe000000 }
Cheers,
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
prev parent reply other threads:[~2010-04-20 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 20:32 [U-Boot] CFI interface and PPC440EP EBC chipselects Stevan Saban
2010-04-20 9:21 ` 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=201004201121.38455.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