From patchwork Thu May 14 04:29:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Hershberger X-Patchwork-Id: 472210 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id F0B46140283 for ; Thu, 14 May 2015 14:35:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 687524B62A; Thu, 14 May 2015 06:34:58 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q6WNy2Shvhz4; Thu, 14 May 2015 06:34:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 09DE14B669; Thu, 14 May 2015 06:34:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 82DD54B61F for ; Thu, 14 May 2015 06:32:10 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ehcepe0HIIbz for ; Thu, 14 May 2015 06:32:10 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from ni.com (skprod2.natinst.com [130.164.80.23]) by theia.denx.de (Postfix) with ESMTPS id 6B6634B62C for ; Thu, 14 May 2015 06:32:01 +0200 (CEST) Received: from us-aus-mgwout2.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod2.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id t4E4Vx9S011516; Wed, 13 May 2015 23:31:59 -0500 Received: from linux-xvxi.natinst.com ([130.164.14.198]) by us-aus-mgwout2.amer.corp.natinst.com (Lotus Domino Release 8.5.3FP6) with ESMTP id 2015051323315930-1457682 ; Wed, 13 May 2015 23:31:59 -0500 From: Joe Hershberger To: u-boot@lists.denx.de Date: Wed, 13 May 2015 23:29:55 -0500 Message-Id: <1431577798-26951-6-git-send-email-joe.hershberger@ni.com> X-Mailer: git-send-email 1.7.11.5 In-Reply-To: <1431577798-26951-1-git-send-email-joe.hershberger@ni.com> References: <1431577798-26951-1-git-send-email-joe.hershberger@ni.com> X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6|November 21, 2013) at 05/13/2015 11:31:59 PM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6|November 21, 2013) at 05/13/2015 11:31:59 PM, Serialize complete at 05/13/2015 11:31:59 PM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-05-14_02:, , signatures=0 Cc: Joe Hershberger Subject: [U-Boot] [RFC PATCH 5/8] Add decompression to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Also add a new menu for all of the decompression options. The CMD_UBIFS config needs to select the LZO config. Signed-off-by: Joe Hershberger --- lib/Kconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index b4a02b4..ead7fc0 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -50,6 +50,35 @@ config REGEX regex support to some commands, for example "env grep" and "setexpr". +menu "Decompression Support" + +config GZIP + bool "gzip decompression support" + default y + help + If this option is set, support for gzip compressed images is + included. + +config BZIP2 + bool "bzip2 decompression support" + help + If this option is set, support for bzip2 compressed images is + included. + +config LZMA + bool "LZMA decompression support" + help + If this option is set, support for lzma compressed images is + included. + +config LZO + bool "LZO decompression support" + help + If this option is set, support for LZO compressed images is + included. + +endmenu + source lib/rsa/Kconfig menu "Hashing Support"