CFI: allow for dynamically determined flash sizes and addresses
authorWolfgang Denk <wd@denx.de>
Fri, 8 Aug 2008 14:39:54 +0000 (16:39 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 8 Aug 2008 14:39:54 +0000 (16:39 +0200)
commit2a112b234d879f6390503a5f4e38246acce9d0b0
treeb3f767dbd600dd0e5bfbc30718eca6bd5458583f
parent81091f58f0c58ecd26c5b05de2ae20ca6cdb521c
CFI: allow for dynamically determined flash sizes and addresses

The CFI driver allowed only for static initializers in the
CFG_FLASH_BANKS_LIST definition, i. e. it did not allow to map
several flash banks contiguously if the bank sizes were not known in
advance, which kind of violates U-Boot's design philosophy.

(will be used for example by the TQM8xxL boards)

Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/mtd/cfi_flash.c