[U-Boot] TQM834x CFI flash question: Support for 1 or 2 flash banks?

Hi Marian,
I'm in the process of cleaning up some of the CFI driver defines/implementation hacks, such as CONFIG_SYS_MAX_FLASH_BANKS_DETECT. While doing this I noticed that the TQM834x port uses this define and sets it to 2 (via the tqm834x_num_flash_banks variable) if a 2nd chip is detected. But I fail to see how this could really work, since the board port doesn't provide a 2nd base address via the an entry in the CONFIG_SYS_FLASH_BANKS_LIST define, where the probing of the 2nd bank should be done in the common CFI driver.
I know that the board port was done quite some time ago, but perhaps you do remember some details. Has this ever been tested with 2 banks on this board? If yes, how? Could be that I'm missing something. Please enlighten me. :)
Thanks.
Cheers, Stefan
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
participants (1)
-
Stefan Roese