Commit dc774e69 authored by Masahiro Yamada's avatar Masahiro Yamada

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.
Signed-off-by: default avatarMasahiro Yamada <[email protected]>
parent 00ed0e3e
......@@ -10,15 +10,14 @@ config SYS_NAND_SELF_INIT
NAND initialization process.
config NAND_DENALI
bool "Support Denali NAND controller"
bool
select SYS_NAND_SELF_INIT
imply CMD_NAND
help
Enable support for the Denali NAND controller.
config NAND_DENALI_DT
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
Enable the driver for NAND flash on platforms using a Denali NAND
controller as a DT device.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment