Further NAND development

This commit is contained in:
Gregory Nutt
2013-11-16 11:46:35 -06:00
parent c7657c9c5e
commit 7ccbbe07cb
13 changed files with 815 additions and 227 deletions
+47
View File
@@ -81,8 +81,55 @@ config MTD_NAND
---help---
Enable support for NAND FLASH devices.
config ARCH_NAND_HWECC
bool
default n
if MTD_NAND
config MTD_NAND_MAXNUMBLOCKS
int "Max blocks"
default 1024
---help---
Maximum number of blocks in a device
config MTD_NAND_MAXNUMPAGESPERBLOCK
int "Max pages per block"
default 256
---help---
Maximum number of pages in one block
config MTD_NAND_MAXPAGEDATASIZE
int "Max page size"
default 4096
---help---
Maximum size of the data area of one page, in bytes.
config MTD_NAND_MAXPAGESPARESIZE
int "Max size of spare area"
default 256
---help---
Maximum size of the spare area of one page, in bytes.
config MTD_NAND_MAXSPAREECCBYTES
int "Max number of ECC bytes"
default 48
---help---
Maximum number of ECC bytes stored in the spare for one single page.
config MTD_NAND_MAXSPAREEXTRABYTES
int "Max extra free bytes"
default 206
---help---
Maximum number of extra free bytes inside the spare area of a page.
config MTD_NAND_MAX_HWECCSIZE
int "Max H/W ECC size"
default 200
depends on ARCH_NAND_HWECC
---help---
Maximum HW ECC size
config MTD_NAND_EMBEDDEDECC
bool "Support devices with Embedded ECC"
default n