Masahiro Yamada | 4b0abf9 | 2014-10-03 19:21:03 +0900 | [diff] [blame] | 1 | menu "NAND Device Support" |
| 2 | |
Masahiro Yamada | 65e4145 | 2014-11-13 20:31:50 +0900 | [diff] [blame] | 3 | config SYS_NAND_SELF_INIT |
| 4 | bool |
| 5 | help |
| 6 | This option, if enabled, provides more flexible and linux-like |
| 7 | NAND initialization process. |
| 8 | |
Masahiro Yamada | 4b0abf9 | 2014-10-03 19:21:03 +0900 | [diff] [blame] | 9 | if !SPL_BUILD |
| 10 | |
| 11 | config NAND_DENALI |
| 12 | bool "Support Denali NAND controller" |
Masahiro Yamada | 65e4145 | 2014-11-13 20:31:50 +0900 | [diff] [blame] | 13 | select SYS_NAND_SELF_INIT |
Masahiro Yamada | 4b0abf9 | 2014-10-03 19:21:03 +0900 | [diff] [blame] | 14 | help |
| 15 | Enable support for the Denali NAND controller. |
| 16 | |
| 17 | config SYS_NAND_DENALI_64BIT |
| 18 | bool "Use 64-bit variant of Denali NAND controller" |
| 19 | depends on NAND_DENALI |
| 20 | help |
| 21 | The Denali NAND controller IP has some variations in terms of |
| 22 | the bus interface. The DMA setup sequence is completely differenct |
| 23 | between 32bit / 64bit AXI bus variants. |
| 24 | |
| 25 | If your Denali NAND controller is the 64-bit variant, say Y. |
| 26 | Otherwise (32 bit), say N. |
| 27 | |
| 28 | config NAND_DENALI_SPARE_AREA_SKIP_BYTES |
| 29 | int "Number of bytes skipped in OOB area" |
| 30 | depends on NAND_DENALI |
| 31 | range 0 63 |
| 32 | help |
| 33 | This option specifies the number of bytes to skip from the beginning |
| 34 | of OOB area before last ECC sector data starts. This is potentially |
| 35 | used to preserve the bad block marker in the OOB area. |
| 36 | |
| 37 | endif |
| 38 | |
Masahiro Yamada | 845034e | 2014-10-03 19:21:04 +0900 | [diff] [blame] | 39 | if SPL_BUILD |
| 40 | |
| 41 | config SPL_NAND_DENALI |
| 42 | bool "Support Denali NAND controller for SPL" |
| 43 | help |
| 44 | This is a small implementation of the Denali NAND controller |
| 45 | for use on SPL. |
| 46 | |
| 47 | endif |
| 48 | |
Masahiro Yamada | 4b0abf9 | 2014-10-03 19:21:03 +0900 | [diff] [blame] | 49 | endmenu |