From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 16 Jul 2009 15:28:52 +0200 Subject: [U-Boot] [PATCH] mtd: cfi - if defined, use MAX_FLASH_BANKS_DETECT for static declarations In-Reply-To: <20090714160024.4f08b79f.kim.phillips@freescale.com> References: <20090714160024.4f08b79f.kim.phillips@freescale.com> Message-ID: <200907161528.52046.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 On Tuesday 14 July 2009 23:00:24 Kim Phillips wrote: > a.k.a cfi_mtd.c does as cfi_flash.c does. This also prevents > the TQM834x build from doing a: > > cfi_mtd.c:36: error: variably modified 'cfi_mtd_info' at file scope > cfi_mtd.c:37: error: variably modified 'cfi_mtd_names' at file scope > > using gcc 4.4. > > Signed-off-by: Kim Phillips Applied to cfi-flash. Thanks. Best regards, 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 =====================================================================