From patchwork Fri Aug 4 22:35:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 798108 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="HFrqj2ah"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xPMxx16whz9sN7 for ; Sat, 5 Aug 2017 09:07:01 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E47B8C21F49; Fri, 4 Aug 2017 22:52:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C89E2C21FF9; Fri, 4 Aug 2017 22:37:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A9889C21FF5; Fri, 4 Aug 2017 22:36:41 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by lists.denx.de (Postfix) with ESMTPS id 7C425C21FAC for ; Fri, 4 Aug 2017 22:36:26 +0000 (UTC) Received: by mail-oi0-f54.google.com with SMTP id x3so27122791oia.1 for ; Fri, 04 Aug 2017 15:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=KHtdrzARq7u+BkAnC0B2jboevVx6LMBGQR0BBCT37dI=; b=HFrqj2ah2isxmH4wqClx+FtYSc9lAfVfJMl/BhrkCN0ehhTHluh4an8CpL1ZrzMEn6 tliz2q4B3Xwitn+Nb3tjDRv3GyNnySAa5eR0+iGn0kst4KqYNSA52GqDXS7hyE4hAexZ Qq6gTW/m74SBgpfsc+yc+Fi8aD9DapjbTblGumPQX5OGsD6om3xIcjaAu4k69d43U6wr UXzc834lt5yPfIMfg9ajtlxa/7HNN2WGZoqVs/O1HguXfc4pzQahUfDkapnjdYLblmuz B3R7z+voArVWTRZJBfFfuL2KiGSVO2DVZY0wRIU+rx8LarB0FMLKIZfpyQewrx93Lo1z 4fRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=KHtdrzARq7u+BkAnC0B2jboevVx6LMBGQR0BBCT37dI=; b=Pxi5D7ganZUx1sbGra3MyptJct6wng9nj36cYXhWi+3xLjzhAzLZ4+2OHS0HcUxKaJ /UeJyz20mXvVXAEKmUtAxLlmD9ti8ca2PbUVLoFei+Xe6Mlcs2nCiSuI+o+pIWJMrCPG fh9sIRd3QfnhEzi3dfhBg2ko3JvJ7ABZw/15w6djklN0cUveeTWssauzhD8bR0IRCneg nf8Y7PzSoN5AfcF3Q40upoqemihAXYgYFEemwk4qOSXJ351PVpBlG8XH8T+V6fgMW8ey Nf1E6OpFh3OJq5Xa988SuqZFFZfEtoYN4OImhH8fhwPz8VOzCCm4UMWdCMMnsbHuk93L vmCA== X-Gm-Message-State: AIVw112JfMS1o8H+IIOgajcDo2GYYtWnVSCL5g7lmc6n4aw23hovK4tM 72DDQuPYCEOnWxc5 X-Received: by 10.202.105.135 with SMTP id e129mr3133445oic.130.1501886185066; Fri, 04 Aug 2017 15:36:25 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([100.101.164.89]) by smtp.gmail.com with ESMTPSA id q206sm3100440oic.11.2017.08.04.15.36.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 15:36:24 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 023051407B8; Fri, 4 Aug 2017 16:36:24 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 4 Aug 2017 16:35:04 -0600 Message-Id: <20170804223506.105306-41-sjg@chromium.org> X-Mailer: git-send-email 2.14.0.rc1.383.gd1ce394fe2-goog In-Reply-To: <20170804223506.105306-1-sjg@chromium.org> References: <20170804223506.105306-1-sjg@chromium.org> Cc: Stefan Roese , Tom Rini Subject: [U-Boot] [PATCH v2 40/42] Convert CONFIG_CMD_ZFS to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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