[MTD] [NAND] atmel_nand: make available on AVR32
authorHåvard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 6 Jun 2008 16:04:57 +0000 (18:04 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 7 Jun 2008 07:45:45 +0000 (08:45 +0100)
Make the atmel_nand driver selectable on AVR32, and update the Kconfig
help text to reflect this.

Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/Kconfig

index cdd2952..d8c0d86 100644 (file)
@@ -272,18 +272,18 @@ config MTD_NAND_CS553X
          If you say "m", the module will be called "cs553x_nand.ko".
 
 config MTD_NAND_ATMEL
-       bool "Support for NAND Flash / SmartMedia on AT91"
-       depends on ARCH_AT91
+       bool "Support for NAND Flash / SmartMedia on AT91 and AVR32"
+       depends on ARCH_AT91 || AVR32
        help
          Enables support for NAND Flash / Smart Media Card interface
-         on Atmel AT91 processors.
+         on Atmel AT91 and AVR32 processors.
 choice
-       prompt "ECC management for NAND Flash / SmartMedia on AT91"
+       prompt "ECC management for NAND Flash / SmartMedia on AT91 / AVR32"
        depends on MTD_NAND_ATMEL
 
 config MTD_NAND_ATMEL_ECC_HW
        bool "Hardware ECC"
-       depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260
+       depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260 || AVR32
        help
          Use hardware ECC instead of software ECC when the chip
          supports it.