diff mbox

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

Message ID 20170804223506.105306-41-sjg@chromium.org
State Accepted
Commit 54feea17d6956cbad47fe6111e9a807f3c59795e
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass Aug. 4, 2017, 10:35 p.m. UTC
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>
---

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(-)

Comments

Philipp Tomsich Aug. 5, 2017, 9:54 a.m. UTC | #1
> 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>
> ---
> 
> 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(-)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tom Rini Aug. 12, 2017, 1:15 p.m. UTC | #2
On Fri, Aug 04, 2017 at 04:35:04PM -0600, Simon Glass wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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