diff options
author | Pieter du Preez <pdupreez@gmail.com> | 2008-08-01 05:06:40 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-01 05:06:40 -0400 |
commit | f6ed6f78d46b43b6d908b39ed3322f7cda23f4a8 (patch) | |
tree | 7f2fc6d0617e865ab4fac8ddd776ba3ff0da64eb /arch/arm | |
parent | 4a22442faeb33bdf34016a7b1f6b3d6ecd4e33e5 (diff) |
Fix rename of at91_nand -> atmel_nand
Structs called at91_nand_data where renamed to atmel_nand_data
and configs called *MTD_NAND_AT91* where renamed to
*MTD_NAND_ATMEL*. This was unfortunately not done consistently,
causing NAND chips not being initialised on several ARM boards.
I am aware that the author of the original change did not rename
MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
to keep naming consistency.
This patch was only tested on a MACH_SAM9_L9260, as this is the
only ARM board I have to my disposal.
Before this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
105
$ git-ls-files |xargs grep at91_nand |wc -l
4
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
8
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
47
After this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
109
$ git-ls-files |xargs grep at91_nand |wc -l
0
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
55
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
0
Signed-off-by: Pieter du Preez <pdupreez@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm')
28 files changed, 51 insertions, 51 deletions
diff --git a/arch/arm/configs/at91cap9adk_defconfig b/arch/arm/configs/at91cap9adk_defconfig index be2b2f38fd94..bf97801a1068 100644 --- a/arch/arm/configs/at91cap9adk_defconfig +++ b/arch/arm/configs/at91cap9adk_defconfig | |||
@@ -170,7 +170,7 @@ CONFIG_MACH_AT91CAP9ADK=y | |||
170 | # AT91 Board Options | 170 | # AT91 Board Options |
171 | # | 171 | # |
172 | CONFIG_MTD_AT91_DATAFLASH_CARD=y | 172 | CONFIG_MTD_AT91_DATAFLASH_CARD=y |
173 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 173 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
174 | 174 | ||
175 | # | 175 | # |
176 | # AT91 Feature Selections | 176 | # AT91 Feature Selections |
@@ -442,7 +442,7 @@ CONFIG_MTD_NAND=y | |||
442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
443 | CONFIG_MTD_NAND_IDS=y | 443 | CONFIG_MTD_NAND_IDS=y |
444 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 444 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
445 | CONFIG_MTD_NAND_AT91=y | 445 | CONFIG_MTD_NAND_ATMEL=y |
446 | # CONFIG_MTD_NAND_NANDSIM is not set | 446 | # CONFIG_MTD_NAND_NANDSIM is not set |
447 | # CONFIG_MTD_NAND_PLATFORM is not set | 447 | # CONFIG_MTD_NAND_PLATFORM is not set |
448 | # CONFIG_MTD_ALAUDA is not set | 448 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9260ek_defconfig b/arch/arm/configs/at91sam9260ek_defconfig index 2011adfa6758..38e6a0abeb4e 100644 --- a/arch/arm/configs/at91sam9260ek_defconfig +++ b/arch/arm/configs/at91sam9260ek_defconfig | |||
@@ -176,7 +176,7 @@ CONFIG_MACH_AT91SAM9260EK=y | |||
176 | # AT91 Board Options | 176 | # AT91 Board Options |
177 | # | 177 | # |
178 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 178 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
179 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 179 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
180 | 180 | ||
181 | # | 181 | # |
182 | # AT91 Feature Selections | 182 | # AT91 Feature Selections |
diff --git a/arch/arm/configs/at91sam9261ek_defconfig b/arch/arm/configs/at91sam9261ek_defconfig index 4049768962d2..93b779f94b41 100644 --- a/arch/arm/configs/at91sam9261ek_defconfig +++ b/arch/arm/configs/at91sam9261ek_defconfig | |||
@@ -169,7 +169,7 @@ CONFIG_MACH_AT91SAM9261EK=y | |||
169 | # AT91 Board Options | 169 | # AT91 Board Options |
170 | # | 170 | # |
171 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 171 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
172 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 172 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
173 | 173 | ||
174 | # | 174 | # |
175 | # AT91 Feature Selections | 175 | # AT91 Feature Selections |
@@ -433,7 +433,7 @@ CONFIG_MTD_NAND=y | |||
433 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 433 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
434 | CONFIG_MTD_NAND_IDS=y | 434 | CONFIG_MTD_NAND_IDS=y |
435 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 435 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
436 | CONFIG_MTD_NAND_AT91=y | 436 | CONFIG_MTD_NAND_ATMEL=y |
437 | # CONFIG_MTD_NAND_NANDSIM is not set | 437 | # CONFIG_MTD_NAND_NANDSIM is not set |
438 | # CONFIG_MTD_NAND_PLATFORM is not set | 438 | # CONFIG_MTD_NAND_PLATFORM is not set |
439 | # CONFIG_MTD_ALAUDA is not set | 439 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9263ek_defconfig b/arch/arm/configs/at91sam9263ek_defconfig index fa1c5aecb5a8..a7ddd94363ca 100644 --- a/arch/arm/configs/at91sam9263ek_defconfig +++ b/arch/arm/configs/at91sam9263ek_defconfig | |||
@@ -169,7 +169,7 @@ CONFIG_MACH_AT91SAM9263EK=y | |||
169 | # AT91 Board Options | 169 | # AT91 Board Options |
170 | # | 170 | # |
171 | CONFIG_MTD_AT91_DATAFLASH_CARD=y | 171 | CONFIG_MTD_AT91_DATAFLASH_CARD=y |
172 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 172 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
173 | 173 | ||
174 | # | 174 | # |
175 | # AT91 Feature Selections | 175 | # AT91 Feature Selections |
@@ -428,7 +428,7 @@ CONFIG_MTD_NAND=y | |||
428 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 428 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
429 | CONFIG_MTD_NAND_IDS=y | 429 | CONFIG_MTD_NAND_IDS=y |
430 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 430 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
431 | CONFIG_MTD_NAND_AT91=y | 431 | CONFIG_MTD_NAND_ATMEL=y |
432 | # CONFIG_MTD_NAND_NANDSIM is not set | 432 | # CONFIG_MTD_NAND_NANDSIM is not set |
433 | # CONFIG_MTD_NAND_PLATFORM is not set | 433 | # CONFIG_MTD_NAND_PLATFORM is not set |
434 | # CONFIG_MTD_ALAUDA is not set | 434 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9g20ek_defconfig b/arch/arm/configs/at91sam9g20ek_defconfig index c06863847364..df0d6ee672b3 100644 --- a/arch/arm/configs/at91sam9g20ek_defconfig +++ b/arch/arm/configs/at91sam9g20ek_defconfig | |||
@@ -168,7 +168,7 @@ CONFIG_MACH_AT91SAM9G20EK=y | |||
168 | # AT91 Board Options | 168 | # AT91 Board Options |
169 | # | 169 | # |
170 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 170 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
171 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 171 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
172 | 172 | ||
173 | # | 173 | # |
174 | # AT91 Feature Selections | 174 | # AT91 Feature Selections |
@@ -442,10 +442,10 @@ CONFIG_MTD_NAND=y | |||
442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
443 | CONFIG_MTD_NAND_IDS=y | 443 | CONFIG_MTD_NAND_IDS=y |
444 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 444 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
445 | CONFIG_MTD_NAND_AT91=y | 445 | CONFIG_MTD_NAND_ATMEL=y |
446 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 446 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
447 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 447 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
448 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 448 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
449 | # CONFIG_MTD_NAND_NANDSIM is not set | 449 | # CONFIG_MTD_NAND_NANDSIM is not set |
450 | # CONFIG_MTD_NAND_PLATFORM is not set | 450 | # CONFIG_MTD_NAND_PLATFORM is not set |
451 | # CONFIG_MTD_ALAUDA is not set | 451 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9rlek_defconfig b/arch/arm/configs/at91sam9rlek_defconfig index d8ec5f9ca6ec..1c76642272a1 100644 --- a/arch/arm/configs/at91sam9rlek_defconfig +++ b/arch/arm/configs/at91sam9rlek_defconfig | |||
@@ -392,7 +392,7 @@ CONFIG_MTD_NAND=y | |||
392 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 392 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
393 | CONFIG_MTD_NAND_IDS=y | 393 | CONFIG_MTD_NAND_IDS=y |
394 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 394 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
395 | CONFIG_MTD_NAND_AT91=y | 395 | CONFIG_MTD_NAND_ATMEL=y |
396 | # CONFIG_MTD_NAND_NANDSIM is not set | 396 | # CONFIG_MTD_NAND_NANDSIM is not set |
397 | # CONFIG_MTD_NAND_PLATFORM is not set | 397 | # CONFIG_MTD_NAND_PLATFORM is not set |
398 | # CONFIG_MTD_ONENAND is not set | 398 | # CONFIG_MTD_ONENAND is not set |
diff --git a/arch/arm/configs/cam60_defconfig b/arch/arm/configs/cam60_defconfig index f3cd4a95373a..f945105d6cd6 100644 --- a/arch/arm/configs/cam60_defconfig +++ b/arch/arm/configs/cam60_defconfig | |||
@@ -466,10 +466,10 @@ CONFIG_MTD_NAND_VERIFY_WRITE=y | |||
466 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 466 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
467 | CONFIG_MTD_NAND_IDS=y | 467 | CONFIG_MTD_NAND_IDS=y |
468 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 468 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
469 | CONFIG_MTD_NAND_AT91=y | 469 | CONFIG_MTD_NAND_ATMEL=y |
470 | # CONFIG_MTD_NAND_AT91_ECC_SOFT is not set | 470 | # CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set |
471 | CONFIG_MTD_NAND_AT91_ECC_HW=y | 471 | CONFIG_MTD_NAND_ATMEL_ECC_HW=y |
472 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 472 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
473 | # CONFIG_MTD_NAND_NANDSIM is not set | 473 | # CONFIG_MTD_NAND_NANDSIM is not set |
474 | # CONFIG_MTD_NAND_PLATFORM is not set | 474 | # CONFIG_MTD_NAND_PLATFORM is not set |
475 | # CONFIG_MTD_ALAUDA is not set | 475 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/qil-a9260_defconfig b/arch/arm/configs/qil-a9260_defconfig index ef903bed061e..5cbd81589647 100644 --- a/arch/arm/configs/qil-a9260_defconfig +++ b/arch/arm/configs/qil-a9260_defconfig | |||
@@ -458,10 +458,10 @@ CONFIG_MTD_NAND=y | |||
458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
459 | CONFIG_MTD_NAND_IDS=y | 459 | CONFIG_MTD_NAND_IDS=y |
460 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 460 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
461 | CONFIG_MTD_NAND_AT91=y | 461 | CONFIG_MTD_NAND_ATMEL=y |
462 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 462 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
463 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 463 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
464 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 464 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
465 | # CONFIG_MTD_NAND_NANDSIM is not set | 465 | # CONFIG_MTD_NAND_NANDSIM is not set |
466 | # CONFIG_MTD_NAND_PLATFORM is not set | 466 | # CONFIG_MTD_NAND_PLATFORM is not set |
467 | # CONFIG_MTD_ALAUDA is not set | 467 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/sam9_l9260_defconfig b/arch/arm/configs/sam9_l9260_defconfig index 8688362bcf7b..1174e2764875 100644 --- a/arch/arm/configs/sam9_l9260_defconfig +++ b/arch/arm/configs/sam9_l9260_defconfig | |||
@@ -429,7 +429,7 @@ CONFIG_MTD_NAND=y | |||
429 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 429 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
430 | CONFIG_MTD_NAND_IDS=y | 430 | CONFIG_MTD_NAND_IDS=y |
431 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 431 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
432 | CONFIG_MTD_NAND_AT91=y | 432 | CONFIG_MTD_NAND_ATMEL=y |
433 | # CONFIG_MTD_NAND_NANDSIM is not set | 433 | # CONFIG_MTD_NAND_NANDSIM is not set |
434 | CONFIG_MTD_NAND_PLATFORM=y | 434 | CONFIG_MTD_NAND_PLATFORM=y |
435 | # CONFIG_MTD_ONENAND is not set | 435 | # CONFIG_MTD_ONENAND is not set |
diff --git a/arch/arm/configs/usb-a9260_defconfig b/arch/arm/configs/usb-a9260_defconfig index 3680bd2df26d..fcb4aaabd439 100644 --- a/arch/arm/configs/usb-a9260_defconfig +++ b/arch/arm/configs/usb-a9260_defconfig | |||
@@ -458,10 +458,10 @@ CONFIG_MTD_NAND=y | |||
458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
459 | CONFIG_MTD_NAND_IDS=y | 459 | CONFIG_MTD_NAND_IDS=y |
460 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 460 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
461 | CONFIG_MTD_NAND_AT91=y | 461 | CONFIG_MTD_NAND_ATMEL=y |
462 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 462 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
463 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 463 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
464 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 464 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
465 | # CONFIG_MTD_NAND_NANDSIM is not set | 465 | # CONFIG_MTD_NAND_NANDSIM is not set |
466 | # CONFIG_MTD_NAND_PLATFORM is not set | 466 | # CONFIG_MTD_NAND_PLATFORM is not set |
467 | # CONFIG_MTD_ALAUDA is not set | 467 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/usb-a9263_defconfig b/arch/arm/configs/usb-a9263_defconfig index 48d455bc7363..b786e0407e8e 100644 --- a/arch/arm/configs/usb-a9263_defconfig +++ b/arch/arm/configs/usb-a9263_defconfig | |||
@@ -450,10 +450,10 @@ CONFIG_MTD_NAND=y | |||
450 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 450 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
451 | CONFIG_MTD_NAND_IDS=y | 451 | CONFIG_MTD_NAND_IDS=y |
452 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 452 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
453 | CONFIG_MTD_NAND_AT91=y | 453 | CONFIG_MTD_NAND_ATMEL=y |
454 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 454 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
455 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 455 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
456 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 456 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
457 | # CONFIG_MTD_NAND_NANDSIM is not set | 457 | # CONFIG_MTD_NAND_NANDSIM is not set |
458 | # CONFIG_MTD_NAND_PLATFORM is not set | 458 | # CONFIG_MTD_NAND_PLATFORM is not set |
459 | # CONFIG_MTD_ALAUDA is not set | 459 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/yl9200_defconfig b/arch/arm/configs/yl9200_defconfig index 26de37f74686..a9f41c24c9dc 100644 --- a/arch/arm/configs/yl9200_defconfig +++ b/arch/arm/configs/yl9200_defconfig | |||
@@ -421,7 +421,7 @@ CONFIG_MTD_NAND=y | |||
421 | # CONFIG_MTD_NAND_ECC_SMC is not set | 421 | # CONFIG_MTD_NAND_ECC_SMC is not set |
422 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 422 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
423 | CONFIG_MTD_NAND_IDS=y | 423 | CONFIG_MTD_NAND_IDS=y |
424 | CONFIG_MTD_NAND_AT91=y | 424 | CONFIG_MTD_NAND_ATMEL=y |
425 | # CONFIG_MTD_NAND_NANDSIM is not set | 425 | # CONFIG_MTD_NAND_NANDSIM is not set |
426 | CONFIG_MTD_NAND_PLATFORM=y | 426 | CONFIG_MTD_NAND_PLATFORM=y |
427 | # CONFIG_MTD_ALAUDA is not set | 427 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 5bad6b9b00d7..a048b92cb407 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
@@ -297,7 +297,7 @@ config MTD_AT91_DATAFLASH_CARD | |||
297 | help | 297 | help |
298 | Enable support for the DataFlash card. | 298 | Enable support for the DataFlash card. |
299 | 299 | ||
300 | config MTD_NAND_AT91_BUSWIDTH_16 | 300 | config MTD_NAND_ATMEL_BUSWIDTH_16 |
301 | bool "Enable 16-bit data bus interface to NAND flash" | 301 | bool "Enable 16-bit data bus interface to NAND flash" |
302 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK) | 302 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK) |
303 | help | 303 | help |
diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index dc8b40783d94..25765f1afca9 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c | |||
@@ -376,7 +376,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
376 | * NAND / SmartMedia | 376 | * NAND / SmartMedia |
377 | * -------------------------------------------------------------------- */ | 377 | * -------------------------------------------------------------------- */ |
378 | 378 | ||
379 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 379 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
380 | static struct atmel_nand_data nand_data; | 380 | static struct atmel_nand_data nand_data; |
381 | 381 | ||
382 | #define NAND_BASE AT91_CHIPSELECT_3 | 382 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index 8ced9bc82099..d2c5c84bf6b8 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c | |||
@@ -368,7 +368,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
368 | * NAND / SmartMedia | 368 | * NAND / SmartMedia |
369 | * -------------------------------------------------------------------- */ | 369 | * -------------------------------------------------------------------- */ |
370 | 370 | ||
371 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 371 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
372 | static struct atmel_nand_data nand_data; | 372 | static struct atmel_nand_data nand_data; |
373 | 373 | ||
374 | #define NAND_BASE AT91_CHIPSELECT_3 | 374 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index cae5f52f1278..f5fec0a9cf49 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -283,7 +283,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
283 | * NAND / SmartMedia | 283 | * NAND / SmartMedia |
284 | * -------------------------------------------------------------------- */ | 284 | * -------------------------------------------------------------------- */ |
285 | 285 | ||
286 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 286 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
287 | static struct atmel_nand_data nand_data; | 287 | static struct atmel_nand_data nand_data; |
288 | 288 | ||
289 | #define NAND_BASE AT91_CHIPSELECT_3 | 289 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c index 483d436af22d..b80860e31383 100644 --- a/arch/arm/mach-at91/at91sam9261_devices.c +++ b/arch/arm/mach-at91/at91sam9261_devices.c | |||
@@ -198,7 +198,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
198 | * NAND / SmartMedia | 198 | * NAND / SmartMedia |
199 | * -------------------------------------------------------------------- */ | 199 | * -------------------------------------------------------------------- */ |
200 | 200 | ||
201 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 201 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
202 | static struct atmel_nand_data nand_data; | 202 | static struct atmel_nand_data nand_data; |
203 | 203 | ||
204 | #define NAND_BASE AT91_CHIPSELECT_3 | 204 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index 9762b15f658a..42108d02f593 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c | |||
@@ -352,7 +352,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
352 | * NAND / SmartMedia | 352 | * NAND / SmartMedia |
353 | * -------------------------------------------------------------------- */ | 353 | * -------------------------------------------------------------------- */ |
354 | 354 | ||
355 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 355 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
356 | static struct atmel_nand_data nand_data; | 356 | static struct atmel_nand_data nand_data; |
357 | 357 | ||
358 | #define NAND_BASE AT91_CHIPSELECT_3 | 358 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 5f3094870cad..9c61576f1c8d 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -194,7 +194,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
194 | * NAND / SmartMedia | 194 | * NAND / SmartMedia |
195 | * -------------------------------------------------------------------- */ | 195 | * -------------------------------------------------------------------- */ |
196 | 196 | ||
197 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 197 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
198 | static struct atmel_nand_data nand_data; | 198 | static struct atmel_nand_data nand_data; |
199 | 199 | ||
200 | #define NAND_BASE AT91_CHIPSELECT_3 | 200 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/board-cap9adk.c b/arch/arm/mach-at91/board-cap9adk.c index 117cf6c9afce..1f4725972edc 100644 --- a/arch/arm/mach-at91/board-cap9adk.c +++ b/arch/arm/mach-at91/board-cap9adk.c | |||
@@ -188,7 +188,7 @@ static struct atmel_nand_data __initdata cap9adk_nand_data = { | |||
188 | // .rdy_pin = ... not connected | 188 | // .rdy_pin = ... not connected |
189 | .enable_pin = AT91_PIN_PD15, | 189 | .enable_pin = AT91_PIN_PD15, |
190 | .partition_info = nand_partitions, | 190 | .partition_info = nand_partitions, |
191 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 191 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
192 | .bus_width_16 = 1, | 192 | .bus_width_16 = 1, |
193 | #else | 193 | #else |
194 | .bus_width_16 = 0, | 194 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index 99b4ec3818d6..33b1ccdb516d 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
@@ -140,14 +140,14 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
140 | return ek_nand_partition; | 140 | return ek_nand_partition; |
141 | } | 141 | } |
142 | 142 | ||
143 | static struct at91_nand_data __initdata ek_nand_data = { | 143 | static struct atmel_nand_data __initdata ek_nand_data = { |
144 | .ale = 21, | 144 | .ale = 21, |
145 | .cle = 22, | 145 | .cle = 22, |
146 | // .det_pin = ... not connected | 146 | // .det_pin = ... not connected |
147 | .rdy_pin = AT91_PIN_PC13, | 147 | .rdy_pin = AT91_PIN_PC13, |
148 | .enable_pin = AT91_PIN_PC14, | 148 | .enable_pin = AT91_PIN_PC14, |
149 | .partition_info = nand_partitions, | 149 | .partition_info = nand_partitions, |
150 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 150 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
151 | .bus_width_16 = 1, | 151 | .bus_width_16 = 1, |
152 | #else | 152 | #else |
153 | .bus_width_16 = 0, | 153 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c index 57a6221943ed..3cd5f8d0e2e2 100644 --- a/arch/arm/mach-at91/board-sam9-l9260.c +++ b/arch/arm/mach-at91/board-sam9-l9260.c | |||
@@ -148,7 +148,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
148 | .rdy_pin = AT91_PIN_PC13, | 148 | .rdy_pin = AT91_PIN_PC13, |
149 | .enable_pin = AT91_PIN_PC14, | 149 | .enable_pin = AT91_PIN_PC14, |
150 | .partition_info = nand_partitions, | 150 | .partition_info = nand_partitions, |
151 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 151 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
152 | .bus_width_16 = 1, | 152 | .bus_width_16 = 1, |
153 | #else | 153 | #else |
154 | .bus_width_16 = 0, | 154 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index 6a680795c3c8..daf93a588068 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
@@ -185,7 +185,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
185 | .rdy_pin = AT91_PIN_PC13, | 185 | .rdy_pin = AT91_PIN_PC13, |
186 | .enable_pin = AT91_PIN_PC14, | 186 | .enable_pin = AT91_PIN_PC14, |
187 | .partition_info = nand_partitions, | 187 | .partition_info = nand_partitions, |
188 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 188 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
189 | .bus_width_16 = 1, | 189 | .bus_width_16 = 1, |
190 | #else | 190 | #else |
191 | .bus_width_16 = 0, | 191 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 43dfbd0d543a..12bf527f93be 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -190,7 +190,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
190 | .rdy_pin = AT91_PIN_PC15, | 190 | .rdy_pin = AT91_PIN_PC15, |
191 | .enable_pin = AT91_PIN_PC14, | 191 | .enable_pin = AT91_PIN_PC14, |
192 | .partition_info = nand_partitions, | 192 | .partition_info = nand_partitions, |
193 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 193 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
194 | .bus_width_16 = 1, | 194 | .bus_width_16 = 1, |
195 | #else | 195 | #else |
196 | .bus_width_16 = 0, | 196 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index 6605a0980117..63121197f8c9 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -194,7 +194,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
194 | .rdy_pin = AT91_PIN_PA22, | 194 | .rdy_pin = AT91_PIN_PA22, |
195 | .enable_pin = AT91_PIN_PD15, | 195 | .enable_pin = AT91_PIN_PD15, |
196 | .partition_info = nand_partitions, | 196 | .partition_info = nand_partitions, |
197 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 197 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
198 | .bus_width_16 = 1, | 198 | .bus_width_16 = 1, |
199 | #else | 199 | #else |
200 | .bus_width_16 = 0, | 200 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 45617c201240..e0c07952cc34 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -143,13 +143,13 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
143 | } | 143 | } |
144 | 144 | ||
145 | /* det_pin is not connected */ | 145 | /* det_pin is not connected */ |
146 | static struct at91_nand_data __initdata ek_nand_data = { | 146 | static struct atmel_nand_data __initdata ek_nand_data = { |
147 | .ale = 21, | 147 | .ale = 21, |
148 | .cle = 22, | 148 | .cle = 22, |
149 | .rdy_pin = AT91_PIN_PC13, | 149 | .rdy_pin = AT91_PIN_PC13, |
150 | .enable_pin = AT91_PIN_PC14, | 150 | .enable_pin = AT91_PIN_PC14, |
151 | .partition_info = nand_partitions, | 151 | .partition_info = nand_partitions, |
152 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 152 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
153 | .bus_width_16 = 1, | 153 | .bus_width_16 = 1, |
154 | #else | 154 | #else |
155 | .bus_width_16 = 0, | 155 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-usb-a9260.c b/arch/arm/mach-at91/board-usb-a9260.c index 837aedf8ffeb..2f4ecac150d9 100644 --- a/arch/arm/mach-at91/board-usb-a9260.c +++ b/arch/arm/mach-at91/board-usb-a9260.c | |||
@@ -114,14 +114,14 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
114 | return ek_nand_partition; | 114 | return ek_nand_partition; |
115 | } | 115 | } |
116 | 116 | ||
117 | static struct at91_nand_data __initdata ek_nand_data = { | 117 | static struct atmel_nand_data __initdata ek_nand_data = { |
118 | .ale = 21, | 118 | .ale = 21, |
119 | .cle = 22, | 119 | .cle = 22, |
120 | // .det_pin = ... not connected | 120 | // .det_pin = ... not connected |
121 | .rdy_pin = AT91_PIN_PC13, | 121 | .rdy_pin = AT91_PIN_PC13, |
122 | .enable_pin = AT91_PIN_PC14, | 122 | .enable_pin = AT91_PIN_PC14, |
123 | .partition_info = nand_partitions, | 123 | .partition_info = nand_partitions, |
124 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 124 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
125 | .bus_width_16 = 1, | 125 | .bus_width_16 = 1, |
126 | #else | 126 | #else |
127 | .bus_width_16 = 0, | 127 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-usb-a9263.c b/arch/arm/mach-at91/board-usb-a9263.c index 95800d32bd49..0e9649d3eda1 100644 --- a/arch/arm/mach-at91/board-usb-a9263.c +++ b/arch/arm/mach-at91/board-usb-a9263.c | |||
@@ -127,14 +127,14 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
127 | return ek_nand_partition; | 127 | return ek_nand_partition; |
128 | } | 128 | } |
129 | 129 | ||
130 | static struct at91_nand_data __initdata ek_nand_data = { | 130 | static struct atmel_nand_data __initdata ek_nand_data = { |
131 | .ale = 21, | 131 | .ale = 21, |
132 | .cle = 22, | 132 | .cle = 22, |
133 | // .det_pin = ... not connected | 133 | // .det_pin = ... not connected |
134 | .rdy_pin = AT91_PIN_PA22, | 134 | .rdy_pin = AT91_PIN_PA22, |
135 | .enable_pin = AT91_PIN_PD15, | 135 | .enable_pin = AT91_PIN_PD15, |
136 | .partition_info = nand_partitions, | 136 | .partition_info = nand_partitions, |
137 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 137 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
138 | .bus_width_16 = 1, | 138 | .bus_width_16 = 1, |
139 | #else | 139 | #else |
140 | .bus_width_16 = 0, | 140 | .bus_width_16 = 0, |