From patchwork Fri Jul 21 23:11:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 792398 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="moCbt9e3"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xDn9q4bFMz9s7m for ; Sat, 22 Jul 2017 09:32:31 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 71848C21E1E; Fri, 21 Jul 2017 23:27:09 +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 F1DF4C21E57; Fri, 21 Jul 2017 23:14:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8BD0EC21DFE; Fri, 21 Jul 2017 23:13:20 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by lists.denx.de (Postfix) with ESMTPS id B84E8C21D56 for ; Fri, 21 Jul 2017 23:13:06 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id q4so63373069oif.1 for ; Fri, 21 Jul 2017 16:13:06 -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=rabZV8gokp4T/AwYnfh1ZF3CJ7SGLmKYzEWriPwZx3o=; b=moCbt9e3VDgyYwHml2DXbdCMILDEX0+4sVq2crqLGXadI9+IzvuFw0I7lS/wJ+UMmS fV/yrmhir1c1xEIw/jBr6Nr9g44KOEbNTDIttF5kqlHzEg4RE3sufZvpes+LpFHlYC83 QsAN2T22b3f/Lh5uYncn8LpkVsB+8OskubSukOr+1E5ADGtDnwVfxpv3inC8w40UTX4P 1TW+5if7Mn8pgpiCNX2Cfu6yO+JH/4srNX+STvXzJNyEfstUIv25QiXiKoPjV7Xy81EO 575as2n/mT7SkFvcfHdem4Qfv0EdylUfMy0cqEfpeANwfMLj2CwyePu7z4x1bU8e6vpO c/4Q== 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=rabZV8gokp4T/AwYnfh1ZF3CJ7SGLmKYzEWriPwZx3o=; b=l6GiN1lBfTG3wHxwwHmkr+hYLyY0Qw3Tfg/he6OEQLPNE1ciy2bzB/X1YjCg3c1wDH tqZaN/FsoKQ7Xq4SRCPZy+kxLpvQW3ePckHDUYr7ayVinNTWJnTu3+4OIcTWgFA289lh p2/ntBum4KAVE2FWUhj5FHsHzzcfr4OlgnugXNk4CuTx7IeQ3eAXRirplW848lYGC3Dt rfTc30Qylafj6kbQmwids8mCbRjOMERaZNdTyPuapPdHJAOoWYKL6cLk3FZeOPRmAQyg 0JZ4l4lsVZxmlFkO9v/tPpT50iupJ9GEBnfo+P5OGUExxPpc7XmocMT6f0z46RJ617i6 NRtQ== X-Gm-Message-State: AIVw112DHBUTBd/9qTYD9EoRSFWH0Zodpybgf49N1l02ONs9cCMZUQnC +1Kp5mt3CSRQkSUL X-Received: by 10.202.221.85 with SMTP id u82mr3514091oig.67.1500678785425; Fri, 21 Jul 2017 16:13:05 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:0:10f2:0:e18e:96ad:7cd2:a953]) by smtp.gmail.com with ESMTPSA id v195sm3967266oif.54.2017.07.21.16.13.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jul 2017 16:13:04 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 34BEC13FAD1; Fri, 21 Jul 2017 17:13:04 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 21 Jul 2017 17:11:38 -0600 Message-Id: <20170721231140.136461-40-sjg@chromium.org> X-Mailer: git-send-email 2.14.0.rc0.284.gd933b75aa4-goog In-Reply-To: <20170721231140.136461-1-sjg@chromium.org> References: <20170721231140.136461-1-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 39/41] 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 --- 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