summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-03-03 15:13:30 +0100
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 11:23:46 +0530
commit522c282ff4800886cdc60d9b363adcb07c9131ee (patch)
tree5ce970bf49d0d831fcd050fa1d64d725f419ae55 /cmd/Kconfig
parent2bc734b1eb9d77c1e9f64ed0ff364f293ce8d074 (diff)
cmd: nand: Make the NAND options default to NAND_SUNXI
If we depend on the ARCH_SUNXI configuration option, the boards that do not have NAND support enabled (with the associated options) will not compile anymore. Depend on the NAND driver configuration option to make sure that is not the case. Reported-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index c9b17f0e62..661ae7a98c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -452,7 +452,7 @@ config CMD_MMC
config CMD_NAND
bool "nand"
- default y if ARCH_SUNXI
+ default y if NAND_SUNXI
help
NAND support.
@@ -847,7 +847,7 @@ config CMD_UBI
tristate "Enable UBI - Unsorted block images commands"
select CRC32
select MTD_UBI
- default y if ARCH_SUNXI
+ default y if NAND_SUNXI
help
UBI is a software layer above MTD layer which admits use of LVM-like
logical volumes on top of MTD devices, hides some complexities of
@@ -862,7 +862,7 @@ config CMD_UBIFS
select CRC32
select RBTREE if ARCH_SUNXI
select LZO if ARCH_SUNXI
- default y if ARCH_SUNXI
+ default y if NAND_SUNXI
help
UBIFS is a file system for flash devices which works on top of UBI.