| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menuconfig MTD_ONENAND |
|---|
| 2 | 3 | tristate "OneNAND Device Support" |
|---|
| 3 | | - depends on MTD |
|---|
| 4 | 4 | depends on HAS_IOMEM |
|---|
| 5 | 5 | help |
|---|
| 6 | 6 | This enables support for accessing all type of OneNAND flash |
|---|
| .. | .. |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | config MTD_ONENAND_OMAP2 |
|---|
| 26 | 26 | tristate "OneNAND on OMAP2/OMAP3 support" |
|---|
| 27 | | - depends on ARCH_OMAP2 || ARCH_OMAP3 |
|---|
| 27 | + depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && ARM) |
|---|
| 28 | 28 | depends on OF || COMPILE_TEST |
|---|
| 29 | 29 | help |
|---|
| 30 | 30 | Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC |
|---|
| .. | .. |
|---|
| 32 | 32 | Enable dmaengine and gpiolib for better performance. |
|---|
| 33 | 33 | |
|---|
| 34 | 34 | config MTD_ONENAND_SAMSUNG |
|---|
| 35 | | - tristate "OneNAND on Samsung SOC controller support" |
|---|
| 36 | | - depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS4 |
|---|
| 37 | | - help |
|---|
| 38 | | - Support for a OneNAND flash device connected to an Samsung SOC. |
|---|
| 39 | | - S3C64XX uses command mapping method. |
|---|
| 40 | | - S5PC110/S5PC210 use generic OneNAND method. |
|---|
| 35 | + tristate "OneNAND on Samsung SOC controller support" |
|---|
| 36 | + depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS4 || COMPILE_TEST |
|---|
| 37 | + help |
|---|
| 38 | + Support for a OneNAND flash device connected to an Samsung SOC. |
|---|
| 39 | + S3C64XX uses command mapping method. |
|---|
| 40 | + S5PC110/S5PC210 use generic OneNAND method. |
|---|
| 41 | 41 | |
|---|
| 42 | 42 | config MTD_ONENAND_OTP |
|---|
| 43 | 43 | bool "OneNAND OTP Support" |
|---|