]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/mtd/nand/Kconfig
karo: merge with Ka-Ro specific tree for secure boot support
[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 if !SPL_BUILD
16
17 config NAND_DENALI
18         bool "Support Denali NAND controller"
19         select SYS_NAND_SELF_INIT
20         help
21           Enable support for the Denali NAND controller.
22
23 config SYS_NAND_DENALI_64BIT
24         bool "Use 64-bit variant of Denali NAND controller"
25         depends on NAND_DENALI
26         help
27           The Denali NAND controller IP has some variations in terms of
28           the bus interface.  The DMA setup sequence is completely differenct
29           between 32bit / 64bit AXI bus variants.
30
31           If your Denali NAND controller is the 64-bit variant, say Y.
32           Otherwise (32 bit), say N.
33
34 config NAND_DENALI_SPARE_AREA_SKIP_BYTES
35         int "Number of bytes skipped in OOB area"
36         depends on NAND_DENALI
37         range 0 63
38         help
39           This option specifies the number of bytes to skip from the beginning
40           of OOB area before last ECC sector data starts.  This is potentially
41           used to preserve the bad block marker in the OOB area.
42
43 endif
44
45 if SPL_BUILD
46
47 config SPL_NAND_DENALI
48         bool "Support Denali NAND controller for SPL"
49         help
50           This is a small implementation of the Denali NAND controller
51           for use on SPL.
52
53 endif
54
55 config NAND_MXC
56         bool "Support Freescale i.MX NAND controller"
57         select SYS_NAND_SELF_INIT if SPL
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         select SYS_NAND_SELF_INIT if SPL
65         help
66           Enable support for the Freescale GPMI NAND controller found
67           on i.MX28 and i.MX6 processors.
68
69 config NAND_MXS_NO_BBM_SWAP
70         bool "disable bad block mark swapping"
71         depends on NAND_MXS && MX6
72         select SYS_NAND_USE_FLASH_BBT
73
74 endif