hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/mtd/nand/onenand/Kconfig
....@@ -1,6 +1,6 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig MTD_ONENAND
23 tristate "OneNAND Device Support"
3
- depends on MTD
44 depends on HAS_IOMEM
55 help
66 This enables support for accessing all type of OneNAND flash
....@@ -24,7 +24,7 @@
2424
2525 config MTD_ONENAND_OMAP2
2626 tristate "OneNAND on OMAP2/OMAP3 support"
27
- depends on ARCH_OMAP2 || ARCH_OMAP3
27
+ depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && ARM)
2828 depends on OF || COMPILE_TEST
2929 help
3030 Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC
....@@ -32,12 +32,12 @@
3232 Enable dmaengine and gpiolib for better performance.
3333
3434 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.
4141
4242 config MTD_ONENAND_OTP
4343 bool "OneNAND OTP Support"