[armel] Change NAND related stuff to modules

Change MTD_CFI, MTD_JEDECPROBE, MTD_CFI_INTELEXT, MTD_CFI_AMDSTD,
and MTD_NAND MTD_NAND_ORION from built-in to modules (fixes FTBFS)
This commit is contained in:
Roger Shimizu 2017-07-31 23:34:47 +09:00
parent 3341a33e22
commit d7f8738db2
2 changed files with 11 additions and 6 deletions

View File

@ -363,8 +363,8 @@ CONFIG_NFTL=m
##
## file: drivers/mtd/chips/Kconfig
##
CONFIG_MTD_CFI=y
CONFIG_MTD_JEDECPROBE=y
CONFIG_MTD_CFI=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_CFI_ADV_OPTIONS=y
## choice: Flash cmd/query data swapping
CONFIG_MTD_CFI_NOSWAP=y
@ -384,9 +384,9 @@ CONFIG_MTD_CFI_I4=y
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_OTP is not set
#. Needed e.g. on QNAP devices
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_INTELEXT=m
#. Needed e.g. on D-Link DNS-323, Buffalo KuroBox-Pro, Buffalo Linkstation LS-GL / LS-WTGL, etc
CONFIG_MTD_CFI_AMDSTD=y
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_CFI_STAA=m
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
@ -413,10 +413,10 @@ CONFIG_MTD_PHYSMAP_OF=y
##
## file: drivers/mtd/nand/Kconfig
##
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_CAFE is not set
CONFIG_MTD_NAND_ORION=y
CONFIG_MTD_NAND_ORION=m
##
## file: drivers/mtd/onenand/Kconfig

View File

@ -1,2 +1,7 @@
#include <mtd-modules>
m25p80
cfi_probe
gen_probe
jedec_probe
nand
orion_nand