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>
lime2-spi
Masahiro Yamada 6 years ago committed by Tom Rini
parent a376702f76
commit c6cca10b9c
  1. 1
      arch/arm/Kconfig
  2. 1
      cmd/Kconfig

@ -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

@ -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

Loading…
Cancel
Save