]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mtd: Do not enable by default during compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 17 Apr 2025 07:46:52 +0000 (09:46 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 28 Apr 2025 08:37:19 +0000 (10:37 +0200)
Enabling the compile test should not cause automatic enabling of all
drivers, but only allow to choose to compile them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/devices/Kconfig
drivers/mtd/nand/raw/Kconfig

index ff2f9e55ef28fdcfcd0f6df9aebc4060dcfc3bae..aed653ce8fa226e7d699128c9f9449a55b3f8b97 100644 (file)
@@ -98,7 +98,7 @@ config MTD_MCHP48L640
 config MTD_SPEAR_SMI
        tristate "SPEAR MTD NOR Support through SMI controller"
        depends on PLAT_SPEAR || COMPILE_TEST
-       default y
+       default PLAT_SPEAR
        help
          This enable SNOR support on SPEAR platforms using SMI controller
 
index b8035df8f732c2f2c7abc06bf27df1cbab01b8cb..421b6feec090ba82fdbb34d25eef53c86723f720 100644 (file)
@@ -34,7 +34,7 @@ config MTD_NAND_DENALI_DT
 config MTD_NAND_AMS_DELTA
        tristate "Amstrad E3 NAND controller"
        depends on MACH_AMS_DELTA || COMPILE_TEST
-       default y
+       default MACH_AMS_DELTA
        help
          Support for NAND flash on Amstrad E3 (Delta).