cmd: ubi: change 'default y' for SUNXI to 'imply' in Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 9 Jul 2018 06:12:37 +0000 (15:12 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 26 Aug 2018 16:24:03 +0000 (12:24 -0400)
It is not preferred to put SUNXI-specific code in the common place.

Change it to 'imply' property of ARCH_SUNXI.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/Kconfig
cmd/Kconfig

index 9f5eaf8..8a23c76 100644 (file)
@@ -831,6 +831,7 @@ config ARCH_SUNXI
        select USE_TINY_PRINTF
        imply CMD_DM
        imply CMD_GPT
+       imply CMD_UBI if NAND
        imply DISTRO_DEFAULTS
        imply FAT_WRITE
        imply OF_LIBFDT_OVERLAY
index 04bdbf0..13d4c99 100644 (file)
@@ -1824,7 +1824,6 @@ endmenu
 
 config CMD_UBI
        tristate "Enable UBI - Unsorted block images commands"
-       default y if NAND_SUNXI
        select CMD_MTDPARTS
        select CRC32
        select MTD_UBI