From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 30 Aug 2010 13:04:09 +0200 Subject: [U-Boot] TQM834x CFI flash question: Support for 1 or 2 flash banks? Message-ID: <201008301304.09934.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 at denx.de