Disable most of MTD

Besides some support for directly flashing BIOS chips which is marked as
DANGEROUS, these seem only useful on embedded devices.

Only leave the simulator and the MTD-on-block emulator.
This commit is contained in:
Jan Alexander Steffens 2020-12-18 23:32:10 +00:00
parent a10b2065c8
commit 2f63adc58f

143
config
View File

@ -2230,17 +2230,14 @@ CONFIG_GNSS_MTK_SERIAL=m
CONFIG_GNSS_SIRF_SERIAL=m CONFIG_GNSS_SIRF_SERIAL=m
CONFIG_GNSS_UBX_SERIAL=m CONFIG_GNSS_UBX_SERIAL=m
CONFIG_MTD=m CONFIG_MTD=m
CONFIG_MTD_TESTS=m # CONFIG_MTD_TESTS is not set
# #
# Partition parsers # Partition parsers
# #
CONFIG_MTD_AR7_PARTS=m # CONFIG_MTD_AR7_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=m # CONFIG_MTD_CMDLINE_PARTS is not set
CONFIG_MTD_REDBOOT_PARTS=m # CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
# end of Partition parsers # end of Partition parsers
# #
@ -2248,124 +2245,86 @@ CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# #
CONFIG_MTD_BLKDEVS=m CONFIG_MTD_BLKDEVS=m
CONFIG_MTD_BLOCK=m CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m # CONFIG_MTD_BLOCK_RO is not set
CONFIG_FTL=m # CONFIG_FTL is not set
CONFIG_NFTL=m # CONFIG_NFTL is not set
CONFIG_NFTL_RW=y # CONFIG_INFTL is not set
CONFIG_INFTL=m # CONFIG_RFD_FTL is not set
CONFIG_RFD_FTL=m # CONFIG_SSFDC is not set
CONFIG_SSFDC=m # CONFIG_SM_FTL is not set
CONFIG_SM_FTL=m # CONFIG_MTD_OOPS is not set
CONFIG_MTD_OOPS=m
CONFIG_MTD_PSTORE=m CONFIG_MTD_PSTORE=m
CONFIG_MTD_SWAP=m # CONFIG_MTD_SWAP is not set
CONFIG_MTD_PARTITIONED_MASTER=y # CONFIG_MTD_PARTITIONED_MASTER is not set
# #
# RAM/ROM/Flash chip drivers # RAM/ROM/Flash chip drivers
# #
CONFIG_MTD_CFI=m # CONFIG_MTD_CFI is not set
CONFIG_MTD_JEDECPROBE=m # CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y CONFIG_MTD_CFI_I2=y
CONFIG_MTD_CFI_INTELEXT=m # CONFIG_MTD_RAM is not set
CONFIG_MTD_CFI_AMDSTD=m # CONFIG_MTD_ROM is not set
CONFIG_MTD_CFI_STAA=m # CONFIG_MTD_ABSENT is not set
CONFIG_MTD_CFI_UTIL=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
CONFIG_MTD_ABSENT=m
# end of RAM/ROM/Flash chip drivers # end of RAM/ROM/Flash chip drivers
# #
# Mapping drivers for chip access # Mapping drivers for chip access
# #
CONFIG_MTD_COMPLEX_MAPPINGS=y # CONFIG_MTD_COMPLEX_MAPPINGS is not set
CONFIG_MTD_PHYSMAP=m # CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PHYSMAP_COMPAT is not set # CONFIG_MTD_PLATRAM is not set
CONFIG_MTD_PHYSMAP_GPIO_ADDR=y
CONFIG_MTD_SBC_GXX=m
CONFIG_MTD_AMD76XROM=m
CONFIG_MTD_ICHXROM=m
CONFIG_MTD_ESB2ROM=m
CONFIG_MTD_CK804XROM=m
CONFIG_MTD_SCB2_FLASH=m
CONFIG_MTD_NETtel=m
CONFIG_MTD_L440GX=m
CONFIG_MTD_PCI=m
CONFIG_MTD_PCMCIA=m
# CONFIG_MTD_PCMCIA_ANONYMOUS is not set
CONFIG_MTD_INTEL_VR_NOR=m
CONFIG_MTD_PLATRAM=m
# end of Mapping drivers for chip access # end of Mapping drivers for chip access
# #
# Self-contained MTD device drivers # Self-contained MTD device drivers
# #
CONFIG_MTD_PMC551=m # CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_PMC551_BUGFIX is not set # CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_PMC551_DEBUG is not set # CONFIG_MTD_MCHP23K256 is not set
CONFIG_MTD_DATAFLASH=m # CONFIG_MTD_SST25L is not set
# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set # CONFIG_MTD_SLRAM is not set
CONFIG_MTD_DATAFLASH_OTP=y # CONFIG_MTD_PHRAM is not set
CONFIG_MTD_MCHP23K256=m # CONFIG_MTD_MTDRAM is not set
CONFIG_MTD_SST25L=m
CONFIG_MTD_SLRAM=m
CONFIG_MTD_PHRAM=m
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLOCK2MTD=m CONFIG_MTD_BLOCK2MTD=m
# #
# Disk-On-Chip Device Drivers # Disk-On-Chip Device Drivers
# #
CONFIG_MTD_DOCG3=m # CONFIG_MTD_DOCG3 is not set
CONFIG_BCH_CONST_M=14
CONFIG_BCH_CONST_T=4
# end of Self-contained MTD device drivers # end of Self-contained MTD device drivers
# #
# NAND # NAND
# #
CONFIG_MTD_NAND_CORE=m CONFIG_MTD_NAND_CORE=m
CONFIG_MTD_ONENAND=m # CONFIG_MTD_ONENAND is not set
# CONFIG_MTD_ONENAND_VERIFY_WRITE is not set
CONFIG_MTD_ONENAND_GENERIC=m
CONFIG_MTD_ONENAND_OTP=y
CONFIG_MTD_ONENAND_2X_PROGRAM=y
CONFIG_MTD_NAND_ECC_SW_HAMMING=m CONFIG_MTD_NAND_ECC_SW_HAMMING=m
CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC=y CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC=y
CONFIG_MTD_RAW_NAND=m CONFIG_MTD_RAW_NAND=m
CONFIG_MTD_NAND_ECC_SW_BCH=y # CONFIG_MTD_NAND_ECC_SW_BCH is not set
# #
# Raw/parallel NAND flash controllers # Raw/parallel NAND flash controllers
# #
CONFIG_MTD_NAND_DENALI=m # CONFIG_MTD_NAND_DENALI_PCI is not set
CONFIG_MTD_NAND_DENALI_PCI=m # CONFIG_MTD_NAND_CAFE is not set
CONFIG_MTD_NAND_CAFE=m # CONFIG_MTD_NAND_MXIC is not set
CONFIG_MTD_NAND_MXIC=m # CONFIG_MTD_NAND_GPIO is not set
CONFIG_MTD_NAND_GPIO=m # CONFIG_MTD_NAND_PLATFORM is not set
CONFIG_MTD_NAND_PLATFORM=m # CONFIG_MTD_NAND_ARASAN is not set
CONFIG_MTD_NAND_ARASAN=m
# #
# Misc # Misc
# #
CONFIG_MTD_SM_COMMON=m
CONFIG_MTD_NAND_NANDSIM=m CONFIG_MTD_NAND_NANDSIM=m
CONFIG_MTD_NAND_RICOH=m # CONFIG_MTD_NAND_RICOH is not set
CONFIG_MTD_NAND_DISKONCHIP=m # CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set # CONFIG_MTD_SPI_NAND is not set
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE=y
CONFIG_MTD_SPI_NAND=m
# #
# ECC engine support # ECC engine support
@ -2377,22 +2336,17 @@ CONFIG_MTD_NAND_ECC=y
# #
# LPDDR & LPDDR2 PCM memory drivers # LPDDR & LPDDR2 PCM memory drivers
# #
CONFIG_MTD_LPDDR=m # CONFIG_MTD_LPDDR is not set
CONFIG_MTD_QINFO_PROBE=m
# end of LPDDR & LPDDR2 PCM memory drivers # end of LPDDR & LPDDR2 PCM memory drivers
CONFIG_MTD_SPI_NOR=m # CONFIG_MTD_SPI_NOR is not set
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
CONFIG_SPI_INTEL_SPI=m
CONFIG_SPI_INTEL_SPI_PCI=m
CONFIG_SPI_INTEL_SPI_PLATFORM=m
CONFIG_MTD_UBI=m CONFIG_MTD_UBI=m
CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20 CONFIG_MTD_UBI_BEB_LIMIT=20
CONFIG_MTD_UBI_FASTMAP=y # CONFIG_MTD_UBI_FASTMAP is not set
CONFIG_MTD_UBI_GLUEBI=m # CONFIG_MTD_UBI_GLUEBI is not set
CONFIG_MTD_UBI_BLOCK=y # CONFIG_MTD_UBI_BLOCK is not set
CONFIG_MTD_HYPERBUS=m # CONFIG_MTD_HYPERBUS is not set
# CONFIG_OF is not set # CONFIG_OF is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=m CONFIG_PARPORT=m
@ -5664,7 +5618,6 @@ CONFIG_VIDEO_SAA7134_RC=y
CONFIG_VIDEO_SAA7134_DVB=m CONFIG_VIDEO_SAA7134_DVB=m
CONFIG_VIDEO_SAA7134_GO7007=m CONFIG_VIDEO_SAA7134_GO7007=m
CONFIG_VIDEO_SAA7164=m CONFIG_VIDEO_SAA7164=m
# CONFIG_VIDEO_COBALT is not set
# #
# Media digital TV PCI Adapters # Media digital TV PCI Adapters
@ -9792,8 +9745,6 @@ CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=m CONFIG_REED_SOLOMON=m
CONFIG_REED_SOLOMON_ENC8=y CONFIG_REED_SOLOMON_ENC8=y
CONFIG_REED_SOLOMON_DEC8=y CONFIG_REED_SOLOMON_DEC8=y
CONFIG_REED_SOLOMON_DEC16=y
CONFIG_BCH=m
CONFIG_TEXTSEARCH=y CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m CONFIG_TEXTSEARCH_BM=m