diff mbox

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

Message ID 20170721231140.136461-40-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass July 21, 2017, 11:11 p.m. UTC
This converts the following to Kconfig:
   CONFIG_CMD_ZFS

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

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

Comments

Bin Meng July 23, 2017, 3:34 a.m. UTC | #1
On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_ZFS
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 11 +++++++++++
>  include/config_cmd_all.h     |  1 -
>  scripts/config_whitelist.txt |  1 -
>  3 files changed, 11 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

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