Convert CONFIG_CMD_ZFS to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:35:04 +0000 (16:35 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 21:44:53 +0000 (17:44 -0400)
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>
cmd/Kconfig
include/config_cmd_all.h
scripts/config_whitelist.txt

index fbedf98..5719a61 100644 (file)
@@ -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"
index faddca8..df88df4 100644 (file)
@@ -13,6 +13,4 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_ZFS         /* ZFS Support                  */
-
 #endif /* _CONFIG_CMD_ALL_H */
index 631a5fa..9ab5d4d 100644 (file)
@@ -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