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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D7FDC433F5 for ; Sat, 9 Oct 2021 01:39:49 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CBE3260FC3 for ; Sat, 9 Oct 2021 01:39:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CBE3260FC3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF80C83621; Sat, 9 Oct 2021 03:39:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="sBAWRZs7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DD45483659; Sat, 9 Oct 2021 03:38:56 +0200 (CEST) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 CF75183656 for ; Sat, 9 Oct 2021 03:38:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x835.google.com with SMTP id e16so11222018qte.13 for ; Fri, 08 Oct 2021 18:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tVb0vO+J+14kRfgZaBD0LIIxrUCNc9xh7aESHggvxrc=; b=sBAWRZs7Z6ReISpNh3oOtiva41SEkVupq1fbFRUXGGUN/OJemKG3ahLoWnNkhOZml4 +68xVOwTa8U9I2iBaDhUdOx8BsFDEu7t4HvmdftPEo5Co7XAdBzf1Bz8GE4+XCPciZla K2m5VPbo8sDVDTGsr8L58SCfOzIF6eIugr+Ns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=tVb0vO+J+14kRfgZaBD0LIIxrUCNc9xh7aESHggvxrc=; b=4iRnHYv7VlotFisvTPwQn94AItxHtfpZfAAT0vRkG5+WomKvx/DIUzOowOk+p6OIGX e/lREnkyIbi7WnZD5754HLx4s5yD55JJjZcYqZ+qYCAT0K8mzrxu4zg2r2tPtSmr4cqk J+ipyr5CvTzoDN+nRbrRevV/PMWlKPFYBrR2ZdOG8oa7Bwa3z9r3z1S+lKVOASjOynsL OtZk8HkJO0A+we+Y9mNy7VyDL0n7lNjDYKUtLz9I5klxk8psxKx5oTI318II/t31e72w P+ouRafwZJ8TwqeO6NjTjcFJNoFqdluSUVYXT1L4lWgj0Hw/uQoc4de0hUJySA/1Of2l N02g== X-Gm-Message-State: AOAM532x+OdIuAm0gxagVgCHc/sX63IkPSdV3+SkOUICBzTBagowi3YO 5e7posGPzG77ieK/G7rTyIVKZw== X-Google-Smtp-Source: ABdhPJwdSP71UirZMHpXKKZ3bRT058qtovbiqr8ZWNNcooFje0h/KBachTvAyCywTMbhoDMqTRXXMg== X-Received: by 2002:ac8:6113:: with SMTP id a19mr1742948qtm.307.1633743525705; Fri, 08 Oct 2021 18:38:45 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-1c00-ef41-79c3-ef5b.res6.spectrum.com. [2603:6081:7b01:cbda:1c00:ef41:79c3:ef5b]) by smtp.gmail.com with ESMTPSA id z186sm812977qke.59.2021.10.08.18.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:38:45 -0700 (PDT) Date: Fri, 8 Oct 2021 21:38:43 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Alexandru Gagniuc , Bin Meng , Joe Hershberger , Marek Vasut Subject: Re: [PATCH v4 09/15] image: Update image_decomp() to avoid ifdefs Message-ID: <20211009013843.GI7964@bill-the-cat> References: <20210925130320.7824-1-sjg@chromium.org> <20210925070255.v4.9.I9c9eaf576574f98e5faa89e29f5eb11dc3444816@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OfrWf2Fun5Ae4m0Y" Content-Disposition: inline In-Reply-To: <20210925070255.v4.9.I9c9eaf576574f98e5faa89e29f5eb11dc3444816@changeid> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --OfrWf2Fun5Ae4m0Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:03:14AM -0600, Simon Glass wrote: > Adjust this function so that preprocessor macros are not needed. With > this, the host build uses more of the same header files as the target > build. >=20 > Rather than definining CONFIG_SYS_MALLOC_LEN, add a CONSERVE_MEMORY > define, since that is the purpose of the value. >=20 > This appears to have no impact on code size from a spot check of a few > boards (snow, firefly-rk3288, boston32r2el, m53menlo). >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --OfrWf2Fun5Ae4m0Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg8qMACgkQFHw5/5Y0 tywSEwv/VWl4pvKZHf0XXypHF/JdXiAdaOr7sCDPpEKt06VWY7RUT1oyMmQhOP5W NZn+lvF+Em1jQVBNDTeU/cMfMp9db1MVB3KQ2TiwcKdYhgHGu0Qmbp07EoR6EZHq Gd1TyVcPwDyU163sFUpUiHnX3wW1bJvjfwuqKjfroDufB4OriDHHl66zI2dXDMiV 3NGS9y1Lo9hHsz+6bjny41dVUvFuI+KGj05qe0XU4ml1XCP2mvRm2mqi3eXQg/DK HZrK5DqOrIurmkFpkVj+QqIXUJs0kzpDgRYhwEqY/zMBErSQbMQH1JM62dLl8rVy moCWs103u741VAGSRzJRpaSeYvd1yyrjgqsKGPZFLhp/KWcT+ngqTA0Zst199z19 1LlZkUfPR7QVt5m+Nz2sB0ekqBCEPuYDWdCE+60VDhwpyBQdY6WsXHCTsUBVRBUv a93KFcUKfpBlE3fL74jp+8qf+EFggJ7zElYVDkuhei0GrYbaUv/ISaBreEjrit8F AHDopXbx =POBs -----END PGP SIGNATURE----- --OfrWf2Fun5Ae4m0Y--