cmd: nand: Make the NAND options default to NAND_SUNXI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 3 Mar 2017 14:13:30 +0000 (15:13 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:46 +0000 (11:23 +0530)
commit522c282ff4800886cdc60d9b363adcb07c9131ee
tree5ce970bf49d0d831fcd050fa1d64d725f419ae55
parent2bc734b1eb9d77c1e9f64ed0ff364f293ce8d074
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>
cmd/Kconfig