aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-12-06 13:51:50 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-12-12 00:36:11 +0900
commitdc774e69bb72a3d8ff4c2af7a280a655f395530b (patch)
tree7e85015aa0133d18eae719937ce11196187dba24
parent00ed0e3ee38773bc8430fd51b1085c0cec1f9a50 (diff)
downloadu-boot-dc774e69bb72a3d8ff4c2af7a280a655f395530b.zip
u-boot-dc774e69bb72a3d8ff4c2af7a280a655f395530b.tar.gz
u-boot-dc774e69bb72a3d8ff4c2af7a280a655f395530b.tar.bz2
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: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--drivers/mtd/nand/Kconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 47ec435..78a39ab 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -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.