Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1110693imu; Fri, 9 Nov 2018 11:05:46 -0800 (PST) X-Google-Smtp-Source: AJdET5caQ3PU6ujt2mkG1yzJ9o667QpC5BQj1ujtopUqYXB5jC9b0kXyy6+jHjK2rwh/uBue7G+a X-Received: by 2002:a63:4926:: with SMTP id w38mr8209004pga.353.1541790346517; Fri, 09 Nov 2018 11:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541790346; cv=none; d=google.com; s=arc-20160816; b=o20TzRERdCAvxVZK6JBAL9aKvOu8p/2j76vYKELZ3Gw2FEgPa1jN0XloT7bOTJeVzS T0upAz9tu5eaO5MR+j5aIWORVf9vmcxg7gvQGSM70BmEzlf9Fc32zc3d66YmCtBM2/An RcA4DOhuwTZSZ8zAIEwqggAqqZf72in4gyk/aSiXJJkZ0pqXxaxMnuTAqFt9Rzhm5sqe BhEOgsY2b7LipzaXCcTeAqILBiKChxbj/jsBZUTRV9tvf+GZOs70qL9rgTHVTMmTq9LM FmoX36Gxi5IdTdb1pmUXiD3Bm7HVCfYvgNKNmL91/Sil0Rtvu8n/xD05FotrDGDP7q53 Xj/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=vtkqNjNMsSnHbnamHMlaonpB++k/9AlSapnWouZwk4Q=; b=yCXiDUKEJPV3pyFkjFF5gGRbAV55CLThkiNb7sZqwKc93ALXlVHEDOx/SYbUernSeg AXHNGtp6+J/Y69vgGHdrWdC9OBXmUfgRjK3Q/rQM6zN6hNsuaiqZ8yOGtFlMyslglD9r 3Y7LzLjcF4yOi3c6aKvPH42KLRyqWLVlv/R70EvcgJHM+O2jo73RFcJ3lYyUD7OcYIun j9vfzRAnp5+J2Ko5rmY/1Mljp+qKhmimeRoDTfV1HOzfuWFLg1KyGSQL9Q9WF7JIUqZL 7ujxWmmkMXb5urcHBa5Nx0FlkvNhT/LW2WaFhqCu6fkr96I1YtSamUYj52w09Qa5XjaM 1JGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn20si4097155plb.273.2018.11.09.11.05.19; Fri, 09 Nov 2018 11:05:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729134AbeKJEq2 (ORCPT + 99 others); Fri, 9 Nov 2018 23:46:28 -0500 Received: from tartarus.angband.pl ([54.37.238.230]:51756 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728712AbeKJEpc (ORCPT ); Fri, 9 Nov 2018 23:45:32 -0500 Received: from 89-64-163-218.dynamic.chello.pl ([89.64.163.218] helo=barad-dur.angband.pl) by tartarus.angband.pl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLC3x-00053r-Sg; Fri, 09 Nov 2018 20:03:27 +0100 Received: from kholdan.angband.pl ([2001:470:64f4::5]) by barad-dur.angband.pl with smtp (Exim 4.89) (envelope-from ) id 1gLC3w-0005A4-Bc; Fri, 09 Nov 2018 20:03:25 +0100 Received: by kholdan.angband.pl (sSMTP sendmail emulation); Fri, 09 Nov 2018 20:03:24 +0100 From: Adam Borowski To: linux-kernel@vger.kernel.org, Nick Terrell , Russell King , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, Ralf Baechle , Paul Burton , James Hogan , linux-mips@linux-mips.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Cc: Adam Borowski Date: Fri, 9 Nov 2018 20:02:56 +0100 Message-Id: <20181109190304.8573-9-kilobyte@angband.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109190304.8573-1-kilobyte@angband.pl> References: <20181109185953.xwyelyqnygbskkxk@angband.pl> <20181109190304.8573-1-kilobyte@angband.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 89.64.163.218 X-SA-Exim-Mail-From: kilobyte@angband.pl X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tartarus.angband.pl X-Spam-Level: X-Spam-Status: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1,BAYES_00=-1.9, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no languages= Subject: [PATCH 09/17] unicore32: Remove support for BZIP2 and LZMA compressed kernel X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Made redundant by newer choices -- sort of, as no one enabled support for XZ nor ZSTD for unicore yet... Signed-off-by: Adam Borowski --- arch/unicore32/Kconfig | 2 -- arch/unicore32/boot/compressed/Makefile | 4 +--- arch/unicore32/boot/compressed/misc.c | 8 -------- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index a4c05159dca5..b7eb7e9fb0d2 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig @@ -7,10 +7,8 @@ config UNICORE32 select DMA_DIRECT_OPS select HAVE_GENERIC_DMA_COHERENT select HAVE_KERNEL_GZIP - select HAVE_KERNEL_BZIP2 select GENERIC_ATOMIC64 select HAVE_KERNEL_LZO - select HAVE_KERNEL_LZMA select VIRT_TO_BUS select ARCH_HAVE_CUSTOM_GPIO_H select GENERIC_FIND_FIRST_BIT diff --git a/arch/unicore32/boot/compressed/Makefile b/arch/unicore32/boot/compressed/Makefile index 9aecdd3ddc48..79ff908ad78c 100644 --- a/arch/unicore32/boot/compressed/Makefile +++ b/arch/unicore32/boot/compressed/Makefile @@ -22,9 +22,7 @@ $(obj)/font.c: $(srctree)/lib/fonts/font_8x8.c # piggy.S and piggy.o suffix_$(CONFIG_KERNEL_GZIP) := gzip -suffix_$(CONFIG_KERNEL_BZIP2) := bz2 suffix_$(CONFIG_KERNEL_LZO) := lzo -suffix_$(CONFIG_KERNEL_LZMA) := lzma $(obj)/piggy.$(suffix_y): $(obj)/../Image FORCE $(call if_changed,$(suffix_y)) @@ -39,7 +37,7 @@ targets := vmlinux vmlinux.lds font.o font.c head.o misc.o \ piggy.$(suffix_y) piggy.o piggy.S \ # Make sure files are removed during clean -extra-y += piggy.gzip piggy.bz2 piggy.lzo piggy.lzma +extra-y += piggy.gzip piggy.lzo # ? LDFLAGS_vmlinux += -p diff --git a/arch/unicore32/boot/compressed/misc.c b/arch/unicore32/boot/compressed/misc.c index 5c65dfee278c..ab9b56cf6907 100644 --- a/arch/unicore32/boot/compressed/misc.c +++ b/arch/unicore32/boot/compressed/misc.c @@ -91,18 +91,10 @@ void error(char *x) #include "../../../../lib/decompress_inflate.c" #endif -#ifdef CONFIG_KERNEL_BZIP2 -#include "../../../../lib/decompress_bunzip2.c" -#endif - #ifdef CONFIG_KERNEL_LZO #include "../../../../lib/decompress_unlzo.c" #endif -#ifdef CONFIG_KERNEL_LZMA -#include "../../../../lib/decompress_unlzma.c" -#endif - unsigned long decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p, unsigned long free_mem_ptr_end_p) -- 2.19.1