* [U-Boot] CFI interface and PPC440EP EBC chipselects
@ 2010-04-19 20:32 Stevan Saban
2010-04-20 9:21 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Stevan Saban @ 2010-04-19 20:32 UTC (permalink / raw)
To: u-boot
Hi,
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.
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] CFI interface and PPC440EP EBC chipselects
2010-04-19 20:32 [U-Boot] CFI interface and PPC440EP EBC chipselects Stevan Saban
@ 2010-04-20 9:21 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2010-04-20 9:21 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-20 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-19 20:32 [U-Boot] CFI interface and PPC440EP EBC chipselects Stevan Saban
2010-04-20 9:21 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox