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