[U-Boot-Users] Flash configuration

Wolfgang Denk wd at denx.de
Thu Aug 24 12:01:58 CEST 2006


In message <44ED7632.7010700 at redfish-group.com> you wrote:
> 
> After booting flinfo shows that u-boot has found four devices but the 
> addresses seem to be wrong.  It has
> 
> bank 1 0x00000000 - 0x03ffffff
> bank 2 0x04000000 - 0x07ffffff
> bank3 0x00000000 - 0x03ffffff
> bank 4 0x00000000 - 0x03ffffff.

4 banks.

> #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 }

Init data for 2 banks.

> #define CFG_MAX_FLASH_BANKS     4           /* max number of memory banks */

4 banks.

Why do you say there are 4 banks when there aren't?

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
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offense.                   - E. W. Dijkstra




More information about the U-Boot mailing list