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 ddfae8c..8aa5428 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 e93732d..1a5ea73 100644 (file)
@@ -10,6 +10,7 @@ choice
 
 config TARGET_KM82XX
        bool "Support km82xx"
+       imply CMD_CRAMFS
 
 endchoice
 
index bf3be50..4890e13 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 592b581..4889633 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 9eb6a35..4145fcf 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 77ae65c..4e5e0c1 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 085c1dd..ae7cb25 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 8d51c49..d6966d3 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 8669c6c..06ca3c6 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 f22ed39..a8ddb99 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 f1b72a3..a64ba1c 100644 (file)
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_CRAMFS
 
 /*
  * USB
index 24830ee..40d5d53 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 12fc9f3..c02d306 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 0f72fc4..dc90398 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