[U-Boot] [PATCH] mtd: cfi - if defined, use MAX_FLASH_BANKS_DETECT for static declarations
Stefan Roese
sr at denx.de
Thu Jul 16 15:28:52 CEST 2009
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 <kim.phillips at freescale.com>
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
=====================================================================
More information about the U-Boot
mailing list