From 54feea17d6956cbad47fe6111e9a807f3c59795e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 4 Aug 2017 16:35:04 -0600 Subject: [PATCH] Convert CONFIG_CMD_ZFS to Kconfig This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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 fbedf98957..5719a61432 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -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" 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 631a5fa13d..9ab5d4d958 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 -- 2.25.1