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

fs: Convert CONFIG_CMD_CBFS to Kconfig


This converts the following to Kconfig:
   CONFIG_CMD_CBFS

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
[trini: imply CMD_CBFS on SYS_COREBOOT]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 983b103f
Branches
Tags
No related merge requests found
...@@ -1546,13 +1546,6 @@ The following options need to be configured: ...@@ -1546,13 +1546,6 @@ The following options need to be configured:
This will also enable the command "fatwrite" enabling the This will also enable the command "fatwrite" enabling the
user to write files to FAT. user to write files to FAT.
- CBFS (Coreboot Filesystem) support:
CONFIG_CMD_CBFS
Define this to enable support for reading from a Coreboot
filesystem. Available commands are cbfsinit, cbfsinfo, cbfsls
and cbfsload.
- FAT(File Allocation Table) filesystem cluster size: - FAT(File Allocation Table) filesystem cluster size:
CONFIG_FS_FAT_MAX_CLUSTSIZE CONFIG_FS_FAT_MAX_CLUSTSIZE
......
...@@ -3,6 +3,7 @@ if TARGET_COREBOOT ...@@ -3,6 +3,7 @@ if TARGET_COREBOOT
config SYS_COREBOOT config SYS_COREBOOT
bool bool
default y default y
imply CMD_CBFS
config CBMEM_CONSOLE config CBMEM_CONSOLE
bool bool
......
...@@ -880,6 +880,15 @@ config CMD_CROS_EC ...@@ -880,6 +880,15 @@ config CMD_CROS_EC
endmenu endmenu
menu "Filesystem commands" menu "Filesystem commands"
config CMD_CBFS
bool "Enable the 'cbfs' command"
help
Define this to enable support for reading from a Coreboot
filesystem. This is a ROM-based filesystem used for accessing files
on systems that use coreboot as the first boot-loader and then load
U-Boot to actually boot the Operating System. Available commands are
cbfsinit, cbfsinfo, cbfsls and cbfsload.
config CMD_EXT2 config CMD_EXT2
bool "ext2 command support" bool "ext2 command support"
help help
......
...@@ -52,6 +52,7 @@ CONFIG_CMD_PMIC=y ...@@ -52,6 +52,7 @@ CONFIG_CMD_PMIC=y
CONFIG_CMD_REGULATOR=y CONFIG_CMD_REGULATOR=y
CONFIG_CMD_TPM=y CONFIG_CMD_TPM=y
CONFIG_CMD_TPM_TEST=y CONFIG_CMD_TPM_TEST=y
CONFIG_CMD_CBFS=y
CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y CONFIG_MAC_PARTITION=y
CONFIG_AMIGA_PARTITION=y CONFIG_AMIGA_PARTITION=y
......
...@@ -55,6 +55,7 @@ CONFIG_CMD_PMIC=y ...@@ -55,6 +55,7 @@ CONFIG_CMD_PMIC=y
CONFIG_CMD_REGULATOR=y CONFIG_CMD_REGULATOR=y
CONFIG_CMD_TPM=y CONFIG_CMD_TPM=y
CONFIG_CMD_TPM_TEST=y CONFIG_CMD_TPM_TEST=y
CONFIG_CMD_CBFS=y
CONFIG_CMD_EXT2=y CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_EXT4_WRITE=y
......
...@@ -59,6 +59,7 @@ CONFIG_CMD_PMIC=y ...@@ -59,6 +59,7 @@ CONFIG_CMD_PMIC=y
CONFIG_CMD_REGULATOR=y CONFIG_CMD_REGULATOR=y
CONFIG_CMD_TPM=y CONFIG_CMD_TPM=y
CONFIG_CMD_TPM_TEST=y CONFIG_CMD_TPM_TEST=y
CONFIG_CMD_CBFS=y
CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y CONFIG_MAC_PARTITION=y
CONFIG_AMIGA_PARTITION=y CONFIG_AMIGA_PARTITION=y
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#define CONFIG_FAT_WRITE #define CONFIG_FAT_WRITE
#define CONFIG_FS_EXT4 #define CONFIG_FS_EXT4
#define CONFIG_EXT4_WRITE #define CONFIG_EXT4_WRITE
#define CONFIG_CMD_CBFS
#define CONFIG_CMD_CRAMFS #define CONFIG_CMD_CRAMFS
#define CONFIG_HOST_MAX_DEVICES 4 #define CONFIG_HOST_MAX_DEVICES 4
......
...@@ -64,10 +64,6 @@ ...@@ -64,10 +64,6 @@
#define CONFIG_SUPPORT_VFAT #define CONFIG_SUPPORT_VFAT
#ifdef CONFIG_SYS_COREBOOT
#define CONFIG_CMD_CBFS
#endif
/* x86 GPIOs are accessed through a PCI device */ /* x86 GPIOs are accessed through a PCI device */
#define CONFIG_INTEL_ICH6_GPIO #define CONFIG_INTEL_ICH6_GPIO
......
...@@ -393,7 +393,6 @@ CONFIG_CM922T_XA10 ...@@ -393,7 +393,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG CONFIG_CMDLINE_TAG
CONFIG_CMD_CBFS
CONFIG_CMD_CHIP_CONFIG CONFIG_CMD_CHIP_CONFIG
CONFIG_CMD_CLEAR CONFIG_CMD_CLEAR
CONFIG_CMD_CLK CONFIG_CMD_CLK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment