Skip to content
Snippets Groups Projects
Commit 522c282f authored by Maxime Ripard's avatar Maxime Ripard Committed by Jagan Teki
Browse files

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: default avatarChen-Yu Tsai <wens@csie.org>
Tested-by: default avatarChen-Yu Tsai <wens@csie.org>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 2bc734b1
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment