[U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS to Kconfig

Simon Glass sjg at chromium.org
Fri Jul 21 23:11:38 UTC 2017


This converts the following to Kconfig:
   CONFIG_CMD_ZFS

Signed-off-by: Simon Glass <sjg at chromium.org>
---

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index cf3ea47ed0..c9490fca47 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1414,6 +1414,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 88149080c2..7e23abfcd8 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -15,6 +15,5 @@
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-#define CONFIG_CMD_ZFS		/* ZFS Support			*/
 
 #endif	/* _CONFIG_CMD_ALL_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 25842f6da0..d68f806485 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.rc0.284.gd933b75aa4-goog



More information about the U-Boot mailing list