]> git.sur5r.net Git - u-boot/commitdiff
NAND: Remove additional (CONFIG_SYS)_NAND_MAX_CHIPS
authorScott Wood <scottwood@freescale.com>
Thu, 5 Jan 2012 23:24:13 +0000 (17:24 -0600)
committerScott Wood <scottwood@freescale.com>
Thu, 26 Jan 2012 22:09:01 +0000 (16:09 -0600)
NAND_MAX_CHIPS has been replaced by CONFIG_SYS_NAND_MAX_CHIPS,
and the latter defaults to 1.

Signed-off-by: Scott Wood <scottwood@freescale.com>
include/configs/at91sam9m10g45ek.h
include/configs/cam_enc_4xx.h
include/configs/davinci_dm355leopard.h
include/configs/eb_cpux9k2.h
include/configs/enbw_cmc.h
include/configs/pm9263.h
include/configs/pm9g45.h
include/configs/tt01.h

index 5ef6bd230770ab3055929c2679f8d0fe7bcdbdd2..6a02188108f0c4a2a3135457b3d2793e2ce01306 100644 (file)
 
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
-#define CONFIG_NAND_MAX_CHIPS                  1
 #define CONFIG_NAND_ATMEL
 #define CONFIG_SYS_MAX_NAND_DEVICE             1
 #define CONFIG_SYS_NAND_BASE                   ATMEL_BASE_CS3
index a21d4482af498beac0280bd6fcd0c112037a4449..86f74df28e7ca1d5c00ee537bc87ebe25e91f787 100644 (file)
@@ -90,7 +90,6 @@
 #define CONFIG_SYS_NAND_BASE_LIST      { 0x02000000, }
 /* socket has two chipselects, nCE0 gated by address BIT(14) */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
-#define CONFIG_SYS_NAND_MAX_CHIPS      1
 
 /* SPI support */
 #define CONFIG_SPI
index dfa0a00475d8baa36298321044cc28cf159cc3db..dc5b408a618e542797694ba03f35993813f7dbf9 100644 (file)
@@ -69,7 +69,6 @@
 
 #define CONFIG_SYS_NAND_BASE_LIST      { 0x02000000, }
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
-#define CONFIG_SYS_NAND_MAX_CHIPS      1
 
 /* U-Boot command configuration */
 #include <config_cmd_default.h>
index b08de4a72efaf376bfa4c940083420e5d031d515..9046cf0c01f712e11820992b27eec0beb5ddcf32 100644 (file)
 
 /* NAND */
 
-#define CONFIG_SYS_NAND_MAX_CHIPS      1
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_SYS_NAND_BASE           0x40000000
 #define CONFIG_SYS_NAND_DBW_8          1
index c427dc7c692be5de02e4d81c2c6f92d6686a0d6b..83aec790e6fefde9e7614f807894da8d67b3b09b 100644 (file)
 #define CONFIG_SYS_ALE_MASK            0x8
 #undef CONFIG_SYS_NAND_HW_ECC
 #define CONFIG_SYS_MAX_NAND_DEVICE     1 /* Max number of NAND devices */
-#define NAND_MAX_CHIPS                 1
 
 #define MTDIDS_DEFAULT         "nor0=physmap-flash.0,nand0=davinci_nand.1"
 #define MTDPARTS_DEFAULT                       \
index 32c596241a48101082ba55a329b59087f6c72316..bf31c13bdcfdbcc4e71625c97d6c90e2ca02983c 100644 (file)
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_NAND_ATMEL
-#define CONFIG_SYS_NAND_MAX_CHIPS      1
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_SYS_NAND_BASE           0x40000000
 #define CONFIG_SYS_NAND_DBW_8          1
index eec915330038e3b02f088f232a053dbdebc1875a..47798787de3f39071bf06863e920f57de67c2eb4 100644 (file)
 
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
-#define CONFIG_NAND_MAX_CHIPS          1
 #define CONFIG_NAND_ATMEL
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_SYS_NAND_BASE           0x40000000
index a553712699b6b2a4b6be02c10036785e54cde359..7e293c676c238dbcc9675c5e7d1bc6d6712ca717 100644 (file)
 
 #define CONFIG_NAND_MXC
 #define CONFIG_SYS_MAX_NAND_DEVICE             1
-#define CONFIG_SYS_NAND_MAX_CHIPS              1
 
 /*
  * actually this is nothing someone wants to configure!