Commit 6bbb3e93a5eb91d56a66a716acfbfa9ea86bfc4c
Committed by
Scott Wood
1 parent
d3022c5f5c
Exists in
master
and in
54 other branches
NAND: remove NAND_MAX_CHIPS definitions
This change follows the change by Wolfgang Grandegger (commit 6c869637fef), which allows to remove useless NAND_MAX_CHIPS definitions in board config files. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Cc: Wolfgang Grandegger <wg@grandegger.com> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Showing 24 changed files with 2 additions and 31 deletions Side-by-side Diff
- include/configs/P1_P2_RDB.h
- include/configs/SIMPC8313.h
- include/configs/VCMA9.h
- include/configs/aria.h
- include/configs/bf526-ezbrd.h
- include/configs/bf527-ad7160-eval.h
- include/configs/bf527-ezkit.h
- include/configs/bf548-ezkit.h
- include/configs/cm-bf527.h
- include/configs/cpu9260.h
- include/configs/da830evm.h
- include/configs/da850evm.h
- include/configs/ea20.h
- include/configs/hawkboard.h
- include/configs/km/km_arm.h
- include/configs/m28evk.h
- include/configs/mecp5123.h
- include/configs/mpc5121ads.h
- include/configs/mv-common.h
- include/configs/pdm360ng.h
- include/configs/pm9261.h
- include/configs/qi_lb60.h
- include/configs/smdk2410.h
- include/configs/tnetv107x_evm.h
include/configs/P1_P2_RDB.h
... | ... | @@ -273,11 +273,10 @@ |
273 | 273 | #endif |
274 | 274 | #endif |
275 | 275 | |
276 | +#define CONFIG_CMD_NAND | |
276 | 277 | #define CONFIG_SYS_NAND_BASE_LIST {CONFIG_SYS_NAND_BASE} |
277 | 278 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
278 | -#define NAND_MAX_CHIPS 1 | |
279 | 279 | #define CONFIG_MTD_NAND_VERIFY_WRITE |
280 | -#define CONFIG_CMD_NAND 1 | |
281 | 280 | #define CONFIG_NAND_FSL_ELBC 1 |
282 | 281 | #define CONFIG_SYS_NAND_BLOCK_SIZE (16 * 1024) |
283 | 282 |
include/configs/SIMPC8313.h
... | ... | @@ -144,10 +144,9 @@ |
144 | 144 | #endif |
145 | 145 | #define CONFIG_SYS_FPGA_BASE 0xFF000000 |
146 | 146 | |
147 | +#define CONFIG_CMD_NAND | |
147 | 148 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
148 | -#define NAND_MAX_CHIPS 1 | |
149 | 149 | #define CONFIG_MTD_NAND_VERIFY_WRITE |
150 | -#define CONFIG_CMD_NAND 1 | |
151 | 150 | #define CONFIG_NAND_FSL_ELBC 1 |
152 | 151 | |
153 | 152 | #define CONFIG_SYS_NAND_BR_PRELIM (CONFIG_SYS_NAND_BASE \ |
include/configs/VCMA9.h
... | ... | @@ -237,7 +237,6 @@ |
237 | 237 | #define CONFIG_NAND_S3C2410 |
238 | 238 | #define CONFIG_SYS_S3C2410_NAND_HWECC |
239 | 239 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
240 | -#define NAND_MAX_CHIPS 1 | |
241 | 240 | #define CONFIG_SYS_NAND_BASE 0x4E000000 |
242 | 241 | #define CONFIG_S3C24XX_CUSTOM_NAND_TIMING |
243 | 242 | #define CONFIG_S3C24XX_TACLS 1 |
include/configs/aria.h
... | ... | @@ -247,13 +247,9 @@ |
247 | 247 | */ |
248 | 248 | #define CONFIG_CMD_NAND /* enable NAND support */ |
249 | 249 | #define CONFIG_JFFS2_NAND /* with JFFS2 on it */ |
250 | - | |
251 | - | |
252 | 250 | #define CONFIG_NAND_MPC5121_NFC |
253 | 251 | #define CONFIG_SYS_NAND_BASE 0x40000000 |
254 | - | |
255 | 252 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
256 | -#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE | |
257 | 253 | |
258 | 254 | /* |
259 | 255 | * Configuration parameters for MPC5121 NAND driver |
include/configs/bf526-ezbrd.h
include/configs/bf527-ad7160-eval.h
include/configs/bf527-ezkit.h
include/configs/bf548-ezkit.h
include/configs/cm-bf527.h
include/configs/cpu9260.h
include/configs/da830evm.h
include/configs/da850evm.h
include/configs/ea20.h
... | ... | @@ -197,7 +197,6 @@ |
197 | 197 | #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST |
198 | 198 | #define CONFIG_SYS_NAND_USE_FLASH_BBT |
199 | 199 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND devices */ |
200 | -#define NAND_MAX_CHIPS 1 | |
201 | 200 | #define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ |
202 | 201 | #endif |
203 | 202 |
include/configs/hawkboard.h
include/configs/km/km_arm.h
include/configs/m28evk.h
include/configs/mecp5123.h
... | ... | @@ -178,9 +178,7 @@ |
178 | 178 | #define CONFIG_CMD_NAND |
179 | 179 | #define CONFIG_NAND_MPC5121_NFC |
180 | 180 | #define CONFIG_SYS_NAND_BASE 0x40000000 |
181 | - | |
182 | 181 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
183 | -#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE | |
184 | 182 | |
185 | 183 | /* |
186 | 184 | * Configuration parameters for MPC5121 NAND driver |
include/configs/mpc5121ads.h
include/configs/mv-common.h
include/configs/pdm360ng.h
... | ... | @@ -225,9 +225,7 @@ |
225 | 225 | #define CONFIG_CMD_NAND /* enable NAND support */ |
226 | 226 | #define CONFIG_NAND_MPC5121_NFC |
227 | 227 | #define CONFIG_SYS_NAND_BASE 0x40000000 |
228 | - | |
229 | 228 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
230 | -#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE | |
231 | 229 | #define CONFIG_SYS_NAND_SELECT_DEVICE /* driver supports mutipl. chips */ |
232 | 230 | |
233 | 231 | /* |
include/configs/pm9261.h
include/configs/qi_lb60.h
... | ... | @@ -117,7 +117,6 @@ |
117 | 117 | #define CONFIG_SYS_NAND_OOBSIZE 128 |
118 | 118 | #define CONFIG_SYS_NAND_BASE 0xB8000000 |
119 | 119 | #define CONFIG_SYS_ONENAND_BASE CONFIG_SYS_NAND_BASE |
120 | -#define NAND_MAX_CHIPS 1 | |
121 | 120 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
122 | 121 | #define CONFIG_SYS_NAND_SELECT_DEVICE 1 /* nand driver supports mutipl.*/ |
123 | 122 | #define CONFIG_NAND_SPL_TEXT_BASE 0x80000000 |
include/configs/smdk2410.h