Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FF0BC433EF for ; Wed, 18 May 2022 02:07:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 42A1D84278; Wed, 18 May 2022 04:07:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 672E484276; Wed, 18 May 2022 04:07:35 +0200 (CEST) Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C7F9184278 for ; Wed, 18 May 2022 04:07:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=weijie.gao@mediatek.com X-UUID: db0cd179b2aa4b84bb17fd6a780d1936-20220518 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5, REQID:cc7e0d18-9af8-47b4-861f-bd514f599c75, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:2a19b09, CLOUDID:65c48ee2-edbf-4bd4-8a34-dfc5f7bb086d, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: db0cd179b2aa4b84bb17fd6a780d1936-20220518 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 657777808; Wed, 18 May 2022 10:02:20 +0800 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Wed, 18 May 2022 10:01:50 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 18 May 2022 10:01:49 +0800 Received: from mcddlt001.gcn.mediatek.inc (10.19.240.15) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 18 May 2022 10:01:49 +0800 Message-ID: Subject: Re: [PATCH v5 23/25] spl: nand: support loading legacy image with payload compressed From: Weijie Gao To: Daniel Schwierzeck , CC: GSS_MTK_Uboot_upstream , Pali =?ISO-8859-1?Q?Roh=E1r?= , Marek =?ISO-8859-1?Q?Beh=FAn?= , Stefan Roese Date: Wed, 18 May 2022 10:01:48 +0800 In-Reply-To: <35f4fa40-e51a-2505-4d29-386799b4b28f@gmail.com> References: <35f4fa40-e51a-2505-4d29-386799b4b28f@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Wed, 2022-05-18 at 00:02 +0200, Daniel Schwierzeck wrote: > > On 16.05.22 04:44, Weijie Gao wrote: > > Add support to load legacy image with payload compressed. This > > redirects > > the boot flow for all legacy images. If the payload is not > > compresses, the > > s/compresses/compressed/ I'll correct this in next patch series. > > > actual behavior will remain unchanged. > > > > Signed-off-by: Weijie Gao > > --- > > v5 changes: none > > v4 changes: new > > --- > > common/spl/spl_nand.c | 27 +++++++++++++++++++++++++++ > > 1 file changed, 27 insertions(+) > > > > Reviewed-by: Daniel Schwierzeck >