]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: move compression option to Kconfig
authorMichael Walle <michael@walle.cc>
Fri, 22 May 2020 12:07:38 +0000 (14:07 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 May 2020 15:54:53 +0000 (11:54 -0400)
CONFIG_BZIP2 and CONFIG_GZIP_COMPRESSED are Kconfig options. Select them
by CONFIG_SANDBOX instead of setting them in configs/sandbox.h.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/Kconfig
include/configs/sandbox.h

index 91e049b3226d4d901e28718659006ed32db1dbd2..a11f872938d1a48c5eb35a0dc13c23b2a0e653b6 100644 (file)
@@ -86,6 +86,7 @@ config RISCV
 config SANDBOX
        bool "Sandbox"
        select BOARD_LATE_INIT
+       select BZIP2
        select DM
        select DM_GPIO
        select DM_I2C
@@ -94,6 +95,7 @@ config SANDBOX
        select DM_SERIAL
        select DM_SPI
        select DM_SPI_FLASH
+       select GZIP_COMPRESSED
        select HAVE_BLOCK_DEVICE
        select LZO
        select OF_BOARD_SETUP
index 7fda63f71a5eb91451d64863b2082b4f492b0186..484a15df797b60ffc958aca415d224e39d09e6cc 100644 (file)
        BOOTENV \
        MEM_LAYOUT_ENV_SETTINGS
 
-#define CONFIG_GZIP_COMPRESSED
-#define CONFIG_BZIP2
-
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_SYS_IDE_MAXBUS          1
 #define CONFIG_SYS_ATA_IDE0_OFFSET     0