UPSTREAM: mtd: nand: denali: make NAND_DENALI unconfigurable option
denali.c has no driver entry in itself. It makes sense only when compiled together with denali_dt.c Let NAND_DENALI_DT select NAND_DENALI, and hide NAND_DENALI from the Kconfig menu. Change-Id: I6b1299b7995b7f2481f0c3a69599ee11e7be3779 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit dc774e69bb72a3d8ff4c2af7a280a655f395530b)
This commit is contained in:
parent
f03218eb85
commit
0cced741cf
|
|
@ -10,15 +10,14 @@ config SYS_NAND_SELF_INIT
|
||||||
NAND initialization process.
|
NAND initialization process.
|
||||||
|
|
||||||
config NAND_DENALI
|
config NAND_DENALI
|
||||||
bool "Support Denali NAND controller"
|
bool
|
||||||
select SYS_NAND_SELF_INIT
|
select SYS_NAND_SELF_INIT
|
||||||
imply CMD_NAND
|
imply CMD_NAND
|
||||||
help
|
|
||||||
Enable support for the Denali NAND controller.
|
|
||||||
|
|
||||||
config NAND_DENALI_DT
|
config NAND_DENALI_DT
|
||||||
bool "Support Denali NAND controller as a DT device"
|
bool "Support Denali NAND controller as a DT device"
|
||||||
depends on NAND_DENALI && OF_CONTROL && DM
|
select NAND_DENALI
|
||||||
|
depends on OF_CONTROL && DM
|
||||||
help
|
help
|
||||||
Enable the driver for NAND flash on platforms using a Denali NAND
|
Enable the driver for NAND flash on platforms using a Denali NAND
|
||||||
controller as a DT device.
|
controller as a DT device.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue