commit | 9578718c1b085cac73017d834001bc5cb0b2f73f | [log] [tgz] |
---|---|---|
author | Kim Phillips <kim.phillips@freescale.com> | Tue Jul 14 16:00:24 2009 -0500 |
committer | Stefan Roese <sr@denx.de> | Thu Jul 16 15:27:45 2009 +0200 |
tree | 82a984e3b5b97edf856d4d6d4c5eccd409732420 | |
parent | 7d4450a9773673052fcd7fdf0a4a88c089126ac1 [diff] |
mtd: cfi - if defined, use MAX_FLASH_BANKS_DETECT for static declarations 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@freescale.com> Signed-off-by: Stefan Roese <sr@denx.de>