From: txema lopez Date: Thu, 09 Oct 2008 09:50:18 +0200 Subject: [U-Boot] RV: Problem with flash on a MPC5200B board Message-ID: <1223538618.5762.2.camel@txema-desktop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hy Sylvain, I have a custom Lite5200B based board with two S29GL128 expansion flash in two banks (CS0/CSBOOT, CS1) in 8 bit mode. This is my flash configuration in my config/ file. AFAIK the U-Boot CFI driver detects the flash chip mode, so the configuration is quite simple. #define CFG_MAX_FLASH_SECT 512 /* max num of sects on one chip */ #define CFG_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (in ms) */ #define CFG_FLASH_CFI_DRIVER #define CFG_FLASH_CFI #define CFG_FLASH_USE_BUFFER_WRITE The chip select configuration register of both banks could be important. #define CFG_BOOTCS_CFG 0x00021800 #define CFG_CS1_CFG 0x00021800 Best regards, Txema