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