mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Further NAND development
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user