NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS
authorWolfgang Grandegger <wg@grandegger.com>
Fri, 16 Jan 2009 17:55:54 +0000 (18:55 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 23 Jan 2009 16:32:51 +0000 (10:32 -0600)
commit6c869637fef31e66380f0ea1d49690a2e26ec0d7
tree0ac7c4b616f8a1a725b89ba98585689383f2784e
parentc70564e6b1bd08f3230182392238907f3531a87e
NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS

This patch renames NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS and
changes the default from 8 to 1 for the legacy and the new MTD
NAND layer. This allows to remove all NAND_MAX_CHIPS definitions
in the board config files because none of the boards use multi
chip support (NAND_MAX_CHIPS > 1) so far. The bamboo and the DU440
define

 #define NAND_MAX_CHIPS          CONFIG_SYS_MAX_NAND_DEVICE

but that's bogus and did not work anyhow.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
66 files changed:
doc/README.nand
drivers/mtd/nand/nand_base.c
drivers/mtd/nand_legacy/nand_legacy.c
include/configs/ASH405.h
include/configs/CATcenter.h
include/configs/CMS700.h
include/configs/DU440.h
include/configs/G2000.h
include/configs/HH405.h
include/configs/HUB405.h
include/configs/IDS8247.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8360ERDK.h
include/configs/MPC837XEMDS.h
include/configs/MPC8536DS.h
include/configs/MPC8572DS.h
include/configs/NC650.h
include/configs/NETPHONE.h
include/configs/NETTA.h
include/configs/NETTA2.h
include/configs/NETVIA.h
include/configs/PLU405.h
include/configs/PMC440.h
include/configs/PPChameleonEVB.h
include/configs/SXNI855T.h
include/configs/TQM8272.h
include/configs/TQM85xx.h
include/configs/VCMA9.h
include/configs/VOH405.h
include/configs/WUH405.h
include/configs/acadia.h
include/configs/afeb9260.h
include/configs/alpr.h
include/configs/at91cap9adk.h
include/configs/at91rm9200dk.h
include/configs/at91sam9260ek.h
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9rlek.h
include/configs/bamboo.h
include/configs/bf537-stamp.h
include/configs/canyonlands.h
include/configs/csb637.h
include/configs/davinci_dvevm.h
include/configs/davinci_schmoogie.h
include/configs/davinci_sffsdr.h
include/configs/davinci_sonata.h
include/configs/delta.h
include/configs/kilauea.h
include/configs/netstar.h
include/configs/omap2420h4.h
include/configs/pdnb3.h
include/configs/quad100hd.h
include/configs/sbc2410x.h
include/configs/sc3.h
include/configs/sequoia.h
include/configs/smdk6400.h
include/configs/socrates.h
include/configs/stxxtc.h
include/configs/zylonite.h
include/linux/mtd/bbm.h
include/linux/mtd/nand.h
include/linux/mtd/nand_legacy.h