From mboxrd@z Thu Jan 1 00:00:00 1970 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 9D31EC433F5 for ; Tue, 17 May 2022 22:02:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B04B984277; Wed, 18 May 2022 00:02:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="btZ3DG/K"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E90E8427B; Wed, 18 May 2022 00:02:22 +0200 (CEST) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 50D6884277 for ; Wed, 18 May 2022 00:02:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel.schwierzeck@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id i40so654187eda.7 for ; Tue, 17 May 2022 15:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=530Eot4MCuk0T5t4AEJClnZYmtEZpZeC49sjjdBeH6Q=; b=btZ3DG/K6FtJ74z+pA1US5+KIXUYTxLalsMU/wfsBzEe4ScudDcPVAwCO6IaDV6QLT +mL+KelYfvZNu/dY4gy1hFyEU5LS5evBypAdhDwdV5yZE7RdqhxQnkttC4JhDslmtdo6 aTGoUiJJG7sJvhlImQIJnYBo006pob6oUM16pwyqH69XTNIgNWG7Se8AjA7u2PPZC6zm 8stzpqK1s1STYfX/HoabsXliYKR6yCGVNe4U4zvMt7PVvic9FXqqxLD3daX09TesG7x0 eOs9DttzMW8Q7DVgtP3ciCB5Qh3gs/QHKiFBaInIqRTbVSu2vG2nHR3wePWT5ZyBrOHa /VoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=530Eot4MCuk0T5t4AEJClnZYmtEZpZeC49sjjdBeH6Q=; b=fKVll3YMl5aovTeadDR0Wrm89E0+YSKzDh2d1KGecaEQqPP5tpbYUpcBzTL6OgACHB hLMiujdKCicuEn4t7zs8GLMdCY25kaWDhvQZ19Mv89TGue+hkOaV8PZQnwmtEiw2Klgu lY7W6SmHyFMC2TuRZU4eU/cYjdCiKBA5O29SDr/b8oOLAGOM1jmWQHT59O6NpukAhBm1 TVvj2VYMqn54FuTPQOWq8jhfTdSxVFHWWvQBowvYL9KvzFQYP0eqiCm/HHFs6ToQFX4M ueanTKZ5J3o5Q8llPW8Yi/fKutCSBhogcyqGr43/UTNFx7h48xY8e7Uz8KT83l7tpDMh AtsQ== X-Gm-Message-State: AOAM533t5dJf2Z4Az35L/OEDFbxEGVPJA1EBU/QUq4zrryAmk2TVH6c2 /xJejap3hzEJYQ1IkKKRuXs= X-Google-Smtp-Source: ABdhPJzzaWVuzrg4RS8DVf1yZHgo9cPKlOMAhcRwTiuf9wZNS7eMuyaEkINkt2YJokQMnOA19Ka+Rw== X-Received: by 2002:a05:6402:b8e:b0:42a:c086:11cd with SMTP id cf14-20020a0564020b8e00b0042ac08611cdmr8255224edb.166.1652824938965; Tue, 17 May 2022 15:02:18 -0700 (PDT) Received: from [192.168.10.30] (i5E86074D.versanet.de. [94.134.7.77]) by smtp.gmail.com with ESMTPSA id i18-20020a1709067a5200b006fe7c1a89adsm199202ejo.22.2022.05.17.15.02.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 May 2022 15:02:18 -0700 (PDT) Message-ID: <35f4fa40-e51a-2505-4d29-386799b4b28f@gmail.com> Date: Wed, 18 May 2022 00:02:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v5 23/25] spl: nand: support loading legacy image with payload compressed Content-Language: en-US To: Weijie Gao , u-boot@lists.denx.de Cc: GSS_MTK_Uboot_upstream , =?UTF-8?Q?Pali_Roh=c3=a1r?= , =?UTF-8?Q?Marek_Beh=c3=ban?= , Stefan Roese References: From: Daniel Schwierzeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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/ > 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 -- - Daniel