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

Hi,
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
My question is
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 does not consider the number of physical flash chips present in a board. 4.Is there any reference board which has multiple flash chips connected both to CS0 and CS1?
Thanks, Batsayan Das
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 information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

In message OF73B6F0F7.55C9B77F-ON652570F9.00433D81-652570F9.00456AEB@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
- Is is mandatory that CS0 and CS1 to be contiguous?
No.
- what should be the value of CFG_MAX_FLASH_BANKS? 2 or 4?
2
- 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 message.
STOP THIS NONSENSE!
--=_alternative 00456AA4652570F9_= Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi,</font>
AND STOP POSTING HTML!!!
Wolfgang Denk
participants (2)
-
batsayan.das@tcs.com
-
Wolfgang Denk