[U-Boot-Users] Flash driver : help req

Wolfgang Denk wd at denx.de
Tue Jan 17 14:56:28 CET 2006

In message <OF73B6F0F7.55C9B77F-ON652570F9.00433D81-652570F9.00456AEB at tcs.com> you wrote:
> Our MPC8260 based customs board's flash configuration is as follows
> Flash Bank      Base Address            Make                    Number of flashes per chip size           Total size
> CS0             0xFE000000              M29W040B                2  0.5MB   1MB
> CS1             0xFE800000              AM29LV160BB             2  2MB   4MB
> 1. Is is mandatory that CS0 and CS1 to be contiguous?


> 2. what should be the value of  CFG_MAX_FLASH_BANKS? 2 or 4? 


> 3. If for a board, CS0 has "n1" number of flash chips connected and CS1 
> has "n2" number of flash chips connected, then what will be the suggested 
> structure of flash driver? I found that flash drivers for different board 

See existing code examples.

> does not consider the number of physical flash chips present in a board. 

Some do (those which need to), some don't (those which doen't need).

> 4.Is there any reference board which has multiple flash chips connected 
> both to  CS0  and CS1? 

Yes, several.

> Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the infor

I promise that this is the last time that I  violate  your  company's
information policy by not "immediately and permanently delet"ing your


> --=_alternative 00456AA4652570F9_=
> Content-Type: text/html; charset="US-ASCII"
> <br><font size=2 face="sans-serif">Hi,</font>


Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Anyone attempting to generate random numbers by deterministic  means
is, of course, living in a state of sin."          - John Von Neumann

More information about the U-Boot mailing list