aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorHåvard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-06 12:04:52 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-07 03:42:51 -0400
commitd4f4c0aa8e36f69e46360b3d3569dc15d6099894 (patch)
tree758e0bcfe4be735048edcd87929beefd30c39658 /drivers/mtd/nand/Kconfig
parent62fd71fe710886ba449e932ad7877f4a8340c2d4 (diff)
[MTD] [NAND] rename at91_nand -> atmel_nand: file names and Kconfig
The AT91 NAND driver needs just a few tiny modifications to work on AVR32 as well. Rename it atmel_nand to reflect this. Also move the ECC register definitions into drivers/mtd/nand since they are only useful to the atmel_nand driver, and get rid of the useless filename at the top of each file. Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 7dea6c3a6603..cdd2952c1533 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -271,7 +271,7 @@ config MTD_NAND_CS553X
271 271
272 If you say "m", the module will be called "cs553x_nand.ko". 272 If you say "m", the module will be called "cs553x_nand.ko".
273 273
274config MTD_NAND_AT91 274config MTD_NAND_ATMEL
275 bool "Support for NAND Flash / SmartMedia on AT91" 275 bool "Support for NAND Flash / SmartMedia on AT91"
276 depends on ARCH_AT91 276 depends on ARCH_AT91
277 help 277 help
@@ -279,14 +279,15 @@ config MTD_NAND_AT91
279 on Atmel AT91 processors. 279 on Atmel AT91 processors.
280choice 280choice
281 prompt "ECC management for NAND Flash / SmartMedia on AT91" 281 prompt "ECC management for NAND Flash / SmartMedia on AT91"
282 depends on MTD_NAND_AT91 282 depends on MTD_NAND_ATMEL
283 283
284config MTD_NAND_AT91_ECC_HW 284config MTD_NAND_ATMEL_ECC_HW
285 bool "Hardware ECC" 285 bool "Hardware ECC"
286 depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260 286 depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260
287 help 287 help
288 Uses hardware ECC provided by the at91sam9260/at91sam9263 chip 288 Use hardware ECC instead of software ECC when the chip
289 instead of software ECC. 289 supports it.
290
290 The hardware ECC controller is capable of single bit error 291 The hardware ECC controller is capable of single bit error
291 correction and 2-bit random detection per page. 292 correction and 2-bit random detection per page.
292 293
@@ -296,16 +297,16 @@ config MTD_NAND_AT91_ECC_HW
296 297
297 If unsure, say Y 298 If unsure, say Y
298 299
299config MTD_NAND_AT91_ECC_SOFT 300config MTD_NAND_ATMEL_ECC_SOFT
300 bool "Software ECC" 301 bool "Software ECC"
301 help 302 help
302 Uses software ECC. 303 Use software ECC.
303 304
304 NB : hardware and software ECC schemes are incompatible. 305 NB : hardware and software ECC schemes are incompatible.
305 If you switch from one to another, you'll have to erase your 306 If you switch from one to another, you'll have to erase your
306 mtd partition. 307 mtd partition.
307 308
308config MTD_NAND_AT91_ECC_NONE 309config MTD_NAND_ATMEL_ECC_NONE
309 bool "No ECC (testing only, DANGEROUS)" 310 bool "No ECC (testing only, DANGEROUS)"
310 depends on DEBUG_KERNEL 311 depends on DEBUG_KERNEL
311 help 312 help