mirror of
https://github.com/torvalds/linux.git
synced 2026-06-13 01:08:08 +02:00
In file included from drivers/rkflash/sfc_nand_mtd.c:6:0: ./include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp] error, forbidden warning:cfi.h:76 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. ^~~~~~~ scripts/Makefile.build:333: recipe for target 'drivers/rkflash/sfc_nand_mtd.o' failed make[2]: *** [drivers/rkflash/sfc_nand_mtd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from drivers/rkflash/sfc_nor_mtd.c:6:0: ./include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp] error, forbidden warning:cfi.h:76 Change-Id: I900d20adbd86c8293a9496ffba4bd722a46bfeae Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
if ARCH_ROCKCHIP
|
|
|
|
menuconfig RK_FLASH
|
|
tristate "Rockchip Flash Devices Support"
|
|
default n
|
|
help
|
|
This enables support for Rockchip Flash Devices including Nandc Slc
|
|
Nand, SFC Spi Nand and SFC Spi Nor.
|
|
|
|
They're block interface.
|
|
|
|
Say Y when you have a board with one of them.
|
|
|
|
if RK_FLASH
|
|
|
|
comment "Rockchip Flash Devices"
|
|
|
|
config RK_NANDC_NAND
|
|
tristate "Rockchip NANDC Slc Nand Devices support"
|
|
default n
|
|
depends on RK_NAND != y
|
|
help
|
|
This enables support for NANDC Slc Nand Devices.
|
|
|
|
It's block interface, 512Kb/sector.
|
|
|
|
Say Y when you have a board with Slc Nand Flash supported by Rockchip
|
|
Nandc controller.
|
|
|
|
config RK_SFC_NAND
|
|
tristate "Rockchip SFC Spi Nand Devices support"
|
|
default n
|
|
depends on RK_NAND != y
|
|
help
|
|
This enables support for Rockchip SFC Spi Nand Devices.
|
|
|
|
It's block interface, 512Kb/sector.
|
|
|
|
Say Y when you have a board with Spi Nand Flash supported by Rockchip
|
|
Serial Flash Controller(SFC).
|
|
|
|
config RK_SFC_NAND_MTD
|
|
bool "RK SFC NAND mtd Interface Support"
|
|
default n
|
|
depends on RK_SFC_NAND && MTD
|
|
help
|
|
Enable mtd interface for SFC_NAND device.
|
|
|
|
Say Y when you wanna use mtd interface for SFC_NAND flash.
|
|
|
|
config RK_SFC_NOR
|
|
tristate "Rockchip SFC Spi Nor Devices Support"
|
|
select CRYPTO_ARC4
|
|
default n
|
|
help
|
|
This enables support for Rockchip SFC Spi Nor Devices.
|
|
|
|
It's block interface,512Kb/sector.
|
|
|
|
Say Y when you have a board with Spi Nor Flash supported by Rockchip
|
|
Serial Flash Controller(SFC).
|
|
|
|
config RK_SFC_NOR_MTD
|
|
bool "RK SFC NOR mtd Interface Support"
|
|
default n
|
|
depends on RK_SFC_NOR && MTD
|
|
help
|
|
Enable mtd interface for SFC_NOR device.
|
|
|
|
Say Y when you wanna use mtd interface for SFC_NOR flash.
|
|
|
|
endif # RK_FLASH
|
|
|
|
endif # ARCH_ROCKCHIP
|