summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 16:35:04 -0600
committerTom Rini <trini@konsulko.com>2017-08-11 17:44:53 -0400
commit54feea17d6956cbad47fe6111e9a807f3c59795e (patch)
treebd74bb31a45ada6fca7826f5181526f12735265a
parente7a815f32e187480236727393459d205e87ab780 (diff)
downloadu-boot-54feea17d6956cbad47fe6111e9a807f3c59795e.tar.gz
u-boot-54feea17d6956cbad47fe6111e9a807f3c59795e.tar.bz2
u-boot-54feea17d6956cbad47fe6111e9a807f3c59795e.zip
Convert CONFIG_CMD_ZFS to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--cmd/Kconfig11
-rw-r--r--include/config_cmd_all.h2
-rw-r--r--scripts/config_whitelist.txt1
3 files changed, 11 insertions, 3 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index fbedf98957..5719a61432 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1415,6 +1415,17 @@ config CMD_YAFFS2
that device writes are sequential regardless of filesystem
activity.
+config CMD_ZFS
+ bool "zfs - Access of ZFS filesystem"
+ help
+ This provides commands to accessing a ZFS filesystem, commonly used
+ on Solaris systems. Two sub-commands are provided:
+
+ zfsls - list files in a directory
+ zfsload - load a file
+
+ See doc/README.zfs for more details.
+
endmenu
menu "Debug commands"
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index faddca88cd..df88df42e1 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,6 +13,4 @@
* Alphabetical list of all possible commands.
*/
-#define CONFIG_CMD_ZFS /* ZFS Support */
-
#endif /* _CONFIG_CMD_ALL_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 631a5fa13d..9ab5d4d958 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_ZFS
CONFIG_CM_INIT
CONFIG_CM_MULTIPLE_SSRAM
CONFIG_CM_REMAP