]> git.baikalelectronics.ru Git - uboot.git/commitdiff
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 9f5eaf8591b651f7ddb0e56c9d5c18158a3a8324..8a23c76db846940da05cbf41f4443a2a6a110924 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 04bdbf0f3b0b9b7c292ed27c5dec5278adad5f18..13d4c991bf8bf7fc82b601ebc81f23a9dbcee1b6 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