]> git.sur5r.net Git - u-boot/commitdiff
fs: Convert CONFIG_CMD_CRAMFS to Kconfig
authorSimon Glass <sjg@chromium.org>
Thu, 27 Apr 2017 04:28:03 +0000 (22:28 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 30 Apr 2017 17:40:59 +0000 (13:40 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_CRAMFS

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: imply CMD_CRAMFS for keymile]
Signed-off-by: Tom Rini <trini@konsulko.com>
14 files changed:
arch/arm/mach-kirkwood/Kconfig
arch/powerpc/cpu/mpc8260/Kconfig
arch/powerpc/cpu/mpc83xx/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
cmd/Kconfig
configs/UCP1020_SPIFLASH_defconfig
configs/UCP1020_defconfig
configs/sandbox_defconfig
configs/sandbox_noblk_defconfig
configs/sandbox_spl_defconfig
include/configs/UCP1020.h
include/configs/km/keymile-common.h
include/configs/sandbox.h
scripts/config_whitelist.txt

index ddfae8c4b4e30d71d44be60f3c11c0d12cb541ec..8aa54281bee6311b46c9c91be9031dfbb2e75841 100644 (file)
@@ -34,6 +34,7 @@ config TARGET_ICONNECT
 config TARGET_KM_KIRKWOOD
        bool "KM_KIRKWOOD Board"
        select BOARD_LATE_INIT
+       imply CMD_CRAMFS
 
 config TARGET_NET2BIG_V2
        bool "LaCie 2Big Network v2 NAS Board"
index e93732d058dc6ab2431231677373025b7d3fa503..1a5ea73552ea9d731678f83c81e1cdd1d8383653 100644 (file)
@@ -10,6 +10,7 @@ choice
 
 config TARGET_KM82XX
        bool "Support km82xx"
+       imply CMD_CRAMFS
 
 endchoice
 
index bf3be50c48cb18f52147305dd7bce64062e53c59..4890e137704638a900419cf25798379a84b52723 100644 (file)
@@ -64,12 +64,15 @@ config TARGET_IDS8313
 
 config TARGET_KM8360
        bool "Support km8360"
+       imply CMD_CRAMFS
 
 config TARGET_SUVD3
        bool "Support suvd3"
+       imply CMD_CRAMFS
 
 config TARGET_TUXX1
        bool "Support tuxx1"
+       imply CMD_CRAMFS
 
 config TARGET_TQM834X
        bool "Support TQM834x"
index 592b58171ada79c6b66ee8c704de9bf3bc14452a..48896331284e6c8c9cf6916d732142c9f3bb3516 100644 (file)
@@ -321,6 +321,7 @@ config TARGET_KMP204X
        bool "Support kmp204x"
        select ARCH_P2041
        select PHYS_64BIT
+       imply CMD_CRAMFS
 
 config TARGET_XPEDITE520X
        bool "Support xpedite520x"
index 9eb6a353cb10969b8a9f549e4bbd6af228d974ab..4145fcf056ca456ae0ac686519c4fac1311b8efc 100644 (file)
@@ -899,6 +899,16 @@ config CMD_CBFS
          U-Boot to actually boot the Operating System. Available commands are
          cbfsinit, cbfsinfo, cbfsls and cbfsload.
 
+config CMD_CRAMFS
+       bool "Enable the 'cramfs' command"
+       help
+         This provides commands for dealing with CRAMFS (Compressed ROM
+         filesystem). CRAMFS is useful when space is tight since files are
+         compressed. Two commands are provided:
+
+            cramfsls   - lists files in a cramfs image
+            cramfsload - loads a file from a cramfs image
+
 config CMD_EXT2
        bool "ext2 command support"
        help
index 77ae65c19fdaebdb36751d5bef1a6cf40014f283..4e5e0c16b8e7bdd7cce2141116e2c62d33183dec 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_MTD_NOR_FLASH=y
index 085c1ddecbd8b4b0273dce7a5842b9bf2acbc646..ae7cb256116c103826a3c9c33af11c3acb6b29cf 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_MTD_NOR_FLASH=y
index 8d51c49346e2b3158833ba896c7fb3566335b13b..d6966d32c4276e94735413232ab6b349d3a0c6b8 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_TPM_TEST=y
 CONFIG_CMD_CBFS=y
+CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_MAC_PARTITION=y
 CONFIG_AMIGA_PARTITION=y
index 8669c6cb9a1209f3fb69951ba683ea3c0ef80f55..06ca3c652bcc6fac55eaf17cec4aea50aa7a3b44 100644 (file)
@@ -56,6 +56,7 @@ CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_TPM_TEST=y
 CONFIG_CMD_CBFS=y
+CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
index f22ed39fe0af4939cf36f8a6d04263ab9d3e4c58..a8ddb99c095df5b0871daae516f981152d73e025 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_TPM_TEST=y
 CONFIG_CMD_CBFS=y
+CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_MAC_PARTITION=y
 CONFIG_AMIGA_PARTITION=y
index f1b72a329c353ec5fe2cd9f332c971020ff8d9a4..a64ba1cfd37dbee5f39cf6accf3f026748ded405 100644 (file)
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_CRAMFS
 
 /*
  * USB
index 24830ee6ee12be1cc33f382260cc2a9481cfc35e..40d5d53c2bde8cc2246fd77591fe4b261f66e759 100644 (file)
@@ -69,8 +69,6 @@
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_CONCAT
 
-#define CONFIG_CMD_CRAMFS
-
 #ifndef CONFIG_KM_DEF_ENV_BOOTPARAMS
 #define CONFIG_KM_DEF_ENV_BOOTPARAMS \
        "actual_bank=0\0"
index 12fc9f3c73f1ddc6fe068d970ef756615c56871d..c02d3060e1d86a3df0004b558fcda4858df728bf 100644 (file)
@@ -35,7 +35,6 @@
 #define CONFIG_FAT_WRITE
 #define CONFIG_FS_EXT4
 #define CONFIG_EXT4_WRITE
-#define CONFIG_CMD_CRAMFS
 #define CONFIG_HOST_MAX_DEVICES 4
 
 /*
index 0f72fc430c7aff5188b7a486fb349181b5d6f568..dc90398c2650fd1ca273cd3f1799f660fc14c7c1 100644 (file)
@@ -393,7 +393,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_CRAMFS
 CONFIG_CMD_DATE
 CONFIG_CMD_DEFAULTENV_VARS
 CONFIG_CMD_DEKBLOB