drivers: rkflash: add Kconfig introduction and Kconfig detect

in order to distinguish with other nand drivers

Change-Id: Ifd64a3a839752758b1d2923a58bf569f5169bcdd
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
This commit is contained in:
Dingqiang Lin
2018-05-24 20:28:39 +08:00
committed by Tao Huang
parent 9f091f9fc6
commit 02a0d8d9cf

View File

@@ -20,10 +20,14 @@ comment "Rockchip Flash Devices"
config RK_NANDC_NAND
tristate "RK NANDC NAND Device Support"
default n
depends on (BLOCK_RKNAND != y && RK_NAND != y)
help
Enable NANDC_NAND device support.
It's block interface.
Say Y when you have a board with nand flash supported by rockchip
It's block interface. only effective for some kinds of slc nand
flash, and it's compatible with spi nand flash drivers.
Say Y when you have a board with nand flash supported by rockchip.
nandc controller.
config RK_SFC_NOR