hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/mtd/devices/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "Self-contained MTD device drivers"
23 depends on MTD!=n
34 depends on HAS_IOMEM
....@@ -47,7 +48,7 @@
4748
4849 If you want to compile this driver as a module ( = code which can be
4950 inserted in and removed from the running kernel whenever you want),
50
- say M here and read <file:Documentation/kbuild/modules.txt>.
51
+ say M here and read <file:Documentation/kbuild/modules.rst>.
5152 The module will be called ms02-nv.
5253
5354 config MTD_DATAFLASH
....@@ -78,24 +79,6 @@
7879 other key product data. The second half is programmed with a
7980 unique-to-each-chip bit pattern at the factory.
8081
81
-config MTD_M25P80
82
- tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"
83
- depends on SPI_MASTER && MTD_SPI_NOR
84
- select SPI_MEM
85
- help
86
- This enables access to most modern SPI flash chips, used for
87
- program and data storage. Series supported include Atmel AT26DF,
88
- Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chips
89
- are supported as well. See the driver source for the current list,
90
- or to add other chips.
91
-
92
- Note that the original DataFlash chips (AT45 series, not AT26DF),
93
- need an entirely different driver.
94
-
95
- Set up your spi devices with the right board-specific platform data,
96
- if you want to specify device partitioning or to use a device which
97
- doesn't support the JEDEC ID instruction.
98
-
9982 config MTD_MCHP23K256
10083 tristate "Microchip 23K256 SRAM"
10184 depends on SPI_MASTER
....@@ -108,7 +91,7 @@
10891
10992 config MTD_SPEAR_SMI
11093 tristate "SPEAR MTD NOR Support through SMI controller"
111
- depends on PLAT_SPEAR
94
+ depends on PLAT_SPEAR || COMPILE_TEST
11295 default y
11396 help
11497 This enable SNOR support on SPEAR platforms using SMI controller
....@@ -207,7 +190,7 @@
207190 config MTD_DOCG3
208191 tristate "M-Systems Disk-On-Chip G3"
209192 select BCH
210
- select BCH_CONST_PARAMS if !MTD_NAND_BCH
193
+ select BCH_CONST_PARAMS if !MTD_NAND_ECC_SW_BCH
211194 select BITREVERSE
212195 help
213196 This provides an MTD device driver for the M-Systems DiskOnChip