[U-Boot] [PATCH v2 40/42] Convert CONFIG_CMD_ZFS to Kconfig

Simon Glass sjg at chromium.org
Fri Aug 4 22:35:04 UTC 2017


This converts the following to Kconfig:
   CONFIG_CMD_ZFS

Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 cmd/Kconfig                  | 11 +++++++++++
 include/config_cmd_all.h     |  2 --
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c00353fff3..2c2669cdc3 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1406,6 +1406,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 8c3d3e46f9..0b70937810 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,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
-- 
2.14.0.rc1.383.gd1ce394fe2-goog



More information about the U-Boot mailing list