Skip to content
Snippets Groups Projects
Commit 80e44cfe authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

fs: Kconfig: Add a separate option for FS_CRAMFS


Rather than using CMD_CRAMFS for both the filesystem and its command, we
should have a separate option for each. This allows us to enable CRAMFS
support without the command, if desired, which reduces U-Boot's size
slightly.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
[trini: imply FS_CRAMFS for keymile]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 97072747
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ config TARGET_KM_KIRKWOOD
bool "KM_KIRKWOOD Board"
select BOARD_LATE_INIT
imply CMD_CRAMFS
imply FS_CRAMFS
config TARGET_NET2BIG_V2
bool "LaCie 2Big Network v2 NAS Board"
......
......@@ -11,6 +11,7 @@ choice
config TARGET_KM82XX
bool "Support km82xx"
imply CMD_CRAMFS
imply FS_CRAMFS
endchoice
......
......@@ -65,14 +65,17 @@ config TARGET_IDS8313
config TARGET_KM8360
bool "Support km8360"
imply CMD_CRAMFS
imply FS_CRAMFS
config TARGET_SUVD3
bool "Support suvd3"
imply CMD_CRAMFS
imply FS_CRAMFS
config TARGET_TUXX1
bool "Support tuxx1"
imply CMD_CRAMFS
imply FS_CRAMFS
config TARGET_TQM834X
bool "Support TQM834x"
......
......@@ -322,6 +322,7 @@ config TARGET_KMP204X
select ARCH_P2041
select PHYS_64BIT
imply CMD_CRAMFS
imply FS_CRAMFS
config TARGET_XPEDITE520X
bool "Support xpedite520x"
......
......@@ -901,6 +901,7 @@ config CMD_CBFS
config CMD_CRAMFS
bool "Enable the 'cramfs' command"
depends on FS_CRAMFS
help
This provides commands for dealing with CRAMFS (Compressed ROM
filesystem). CRAMFS is useful when space is tight since files are
......
......@@ -34,4 +34,5 @@ CONFIG_SYS_NS16550=y
CONFIG_FSL_ESPI=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_FS_CRAMFS=y
CONFIG_OF_LIBFDT=y
......@@ -34,4 +34,5 @@ CONFIG_SYS_NS16550=y
CONFIG_FSL_ESPI=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_FS_CRAMFS=y
CONFIG_OF_LIBFDT=y
......@@ -169,6 +169,7 @@ CONFIG_CONSOLE_TRUETYPE=y
CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
CONFIG_VIDEO_SANDBOX_SDL=y
CONFIG_FS_CBFS=y
CONFIG_FS_CRAMFS=y
CONFIG_CMD_DHRYSTONE=y
CONFIG_TPM=y
CONFIG_LZ4=y
......
......@@ -171,6 +171,7 @@ CONFIG_CONSOLE_TRUETYPE=y
CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
CONFIG_VIDEO_SANDBOX_SDL=y
CONFIG_FS_CBFS=y
CONFIG_FS_CRAMFS=y
CONFIG_CMD_DHRYSTONE=y
CONFIG_TPM=y
CONFIG_LZ4=y
......
......@@ -175,6 +175,7 @@ CONFIG_CONSOLE_TRUETYPE=y
CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
CONFIG_VIDEO_SANDBOX_SDL=y
CONFIG_FS_CBFS=y
CONFIG_FS_CRAMFS=y
CONFIG_CMD_DHRYSTONE=y
CONFIG_TPM=y
CONFIG_LZ4=y
......
config FS_CRAMFS
bool "Enable CRAMFS filesystem support"
help
This provides support for reading images from CRAMFS (Compressed ROM
filesystem). CRAMFS is useful when space is tight since files are
compressed. You can also enable CMD_CRAMFS to get command-line
access.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment