Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93074
b: refs/heads/master
c: 77f5492
h: refs/heads/master
v: v3
  • Loading branch information
Richard Genoud authored and David Woodhouse committed Apr 23, 2008
1 parent f3f9acd commit 757fb82
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c61cb250cf7e8cdd3b83b79b76d2ea0b3da010a
refs/heads/master: 77f5492c43adb4eb351fa0d163136877e8b2ed92
41 changes: 41 additions & 0 deletions trunk/drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,47 @@ config MTD_NAND_AT91
help
Enables support for NAND Flash / Smart Media Card interface
on Atmel AT91 processors.
choice
prompt "ECC management for NAND Flash / SmartMedia on AT91"
depends on MTD_NAND_AT91

config MTD_NAND_AT91_ECC_HW
bool "Hardware ECC"
depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260
help
Uses hardware ECC provided by the at91sam9260/at91sam9263 chip
instead of software ECC.
The hardware ECC controller is capable of single bit error
correction and 2-bit random detection per page.

NB : hardware and software ECC schemes are incompatible.
If you switch from one to another, you'll have to erase your
mtd partition.

If unsure, say Y

config MTD_NAND_AT91_ECC_SOFT
bool "Software ECC"
help
Uses software ECC.

NB : hardware and software ECC schemes are incompatible.
If you switch from one to another, you'll have to erase your
mtd partition.

config MTD_NAND_AT91_ECC_NONE
bool "No ECC (testing only, DANGEROUS)"
depends on DEBUG_KERNEL
help
No ECC will be used.
It's not a good idea and it should be reserved for testing
purpose only.

If unsure, say N

endchoice

endchoice

config MTD_NAND_PXA3xx
bool "Support for NAND flash devices on PXA3xx"
Expand Down
Loading

0 comments on commit 757fb82

Please sign in to comment.