cmd: ubi: change 'default y' for SUNXI to 'imply' in Kconfig

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>
This commit is contained in:
Masahiro Yamada 2018-07-09 15:12:37 +09:00 committed by Tom Rini
parent a376702f76
commit c6cca10b9c
2 changed files with 1 additions and 1 deletions

View 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

View 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