]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/mtd/nand/Kconfig
kconfig: remove unneeded dependency on !SPL_BUILD
[karo-tx-uboot.git] / drivers / mtd / nand / Kconfig
1 menuconfig NAND
2         bool "NAND Device Support"
3
4 if NAND
5
6 config SYS_NAND_USE_FLASH_BBT
7         bool "Use a flash based bad block table"
8
9 config SYS_NAND_SELF_INIT
10         bool
11         help
12           This option, if enabled, provides more flexible and linux-like
13           NAND initialization process.
14
15 config NAND_DENALI
16         bool "Support Denali NAND controller"
17         select SYS_NAND_SELF_INIT
18         help
19           Enable support for the Denali NAND controller.
20
21 config SYS_NAND_DENALI_64BIT
22         bool "Use 64-bit variant of Denali NAND controller"
23         depends on NAND_DENALI
24         help
25           The Denali NAND controller IP has some variations in terms of
26           the bus interface.  The DMA setup sequence is completely differenct
27           between 32bit / 64bit AXI bus variants.
28
29           If your Denali NAND controller is the 64-bit variant, say Y.
30           Otherwise (32 bit), say N.
31
32 config NAND_DENALI_SPARE_AREA_SKIP_BYTES
33         int "Number of bytes skipped in OOB area"
34         depends on NAND_DENALI
35         range 0 63
36         help
37           This option specifies the number of bytes to skip from the beginning
38           of OOB area before last ECC sector data starts.  This is potentially
39           used to preserve the bad block marker in the OOB area.
40
41 if SPL
42
43 config SPL_NAND_DENALI
44         bool "Support Denali NAND controller for SPL"
45         help
46           This is a small implementation of the Denali NAND controller
47           for use on SPL.
48
49 endif
50
51 config NAND_ATMEL
52         bool "AT91 NAND flash controller"
53         select SYS_NAND_SELF_INIT
54
55 config NAND_MXC
56         bool "Support Freescale i.MX NAND controller"
57         select SYS_NAND_SELF_INIT
58         help
59           Enable support for the Freescale NAND controller found on
60           i.MX processors.
61
62 config NAND_MXS
63         bool "Support Freescale GPMI NAND controller"
64         help
65           Enable support for the Freescale GPMI NAND controller found
66           on i.MX28 and i.MX6 processors.
67
68 config NAND_MXS_NO_BBM_SWAP
69         bool "disable bad block mark swapping"
70         depends on NAND_MXS && SOC_MX6
71         select SYS_NAND_USE_FLASH_BBT
72
73 endif