[U-Boot-Users] Flash configuration

Wolfgang Denk wd at denx.de
Thu Aug 24 12:30:36 CEST 2006


In message <44ED7D11.9050208 at redfish-group.com> you wrote:
>
> I must admit to being a little confused about the terminology.  I had 
> thought that banks were the number of devices but wasn't sure how that 
> worked given that two devices would be in the same address range.  I 

banks correspond to chip select signals. All flash chips that use the
same chip select signal form one bank.

> So my config should be:
> 
> #define CFG_FLASH_BASE_1 PHYS_FLASH_1
> #define CFG_FLASH_BASE_2 PHYS_FLASH_2
> #define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE_1, CFG_FLASH_BASE_2 }
> 
> #define CFG_MAX_FLASH_BANKS 2

And this results in... ?

Best regards,

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
Every time history repeats itself the price goes up.




More information about the U-Boot mailing list