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 4FAFAC433EF for ; Sat, 9 Oct 2021 01:40:36 +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 BDA7660FD7 for ; Sat, 9 Oct 2021 01:40:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BDA7660FD7 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 0A6A08366D; Sat, 9 Oct 2021 03:39:52 +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="RSTIp6eH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 610C483621; Sat, 9 Oct 2021 03:39:17 +0200 (CEST) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 A210783653 for ; Sat, 9 Oct 2021 03:39:09 +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-x82a.google.com with SMTP id c20so11285262qtb.2 for ; Fri, 08 Oct 2021 18:39:09 -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=7+hHmrp3Wygm64eAMeI8tb9Jnk134PT/MWmmANfo/bE=; b=RSTIp6eHm6maYG17dict787Qxp677en0TakPRQL59C1u0FzsH6cgN3KiARe4U4ssfT ePEQYLXJyRYqOpq91mcv0wwFFf8a8FqE8eeSN2O6DXLY/u50iak/WhjWicGTImp3Zvm0 wNw8PZIq2cKR5d8VDuBm6FXM+0WknJ9bGvsgs= 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=7+hHmrp3Wygm64eAMeI8tb9Jnk134PT/MWmmANfo/bE=; b=OWRaKqWnnjjNulAyA4dKjD6ljTiHW6XBj68IUP+XFILSy6BX2omFAbHzMs/coL2Lcd DaQrNRPrm9ad74SnIebf8TpeQWeHs/ypLbx7FvEM0tHk6/3llVBo6PPWYt8jSJLcz7JF 5Dt3YEkc6Dlw2zKyYt1faBP+vgfbewCT3jWpmRjkGLVW0+c1nBgViQyEKQ12yFF0w/hv /9piiAbb7jbi10cyuLx1xkbXvwquIeI+eDfLXeqxccKOQIkcv56HzI71XqZRBQLD48cN lRGCRcdZlV/BtC3u2Z0OGCmbRlL7+zARTml1RTSrQTTZzCscxcO87M3lAR/jaaLdArQF MugA== X-Gm-Message-State: AOAM533l3QvFjAbGY7PPOJmMzM+05zomYLyLlht5Sj27Gf7vXlTvRfH9 ZyKrJ94YPFVKYom6UFLHoEqrOFGQm2bQyQ== X-Google-Smtp-Source: ABdhPJyta3yq8KV0OsHHvIsUVsm4nQZ1NQ6+PnoxPkB79gP4I08IxaAZrRdk8C8WUou+AXAGVi5FmA== X-Received: by 2002:a05:622a:1a92:: with SMTP id s18mr1927162qtc.76.1633743547324; Fri, 08 Oct 2021 18:39:07 -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 o23sm693052qtl.74.2021.10.08.18.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:39:06 -0700 (PDT) Date: Fri, 8 Oct 2021 21:39:04 -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 13/15] image: Create a function to do manual relocation Message-ID: <20211009013904.GM7964@bill-the-cat> References: <20210925130320.7824-1-sjg@chromium.org> <20210925070255.v4.13.Iea4abe7ae3455f42385e0d1c2b5776485b1ab88b@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0+35XlDF45POFHfm" Content-Disposition: inline In-Reply-To: <20210925070255.v4.13.Iea4abe7ae3455f42385e0d1c2b5776485b1ab88b@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 --0+35XlDF45POFHfm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:03:18AM -0600, Simon Glass wrote: > Rather than adding an #ifdef and open-coding this calculation, add a > helper function to handle it. Use this in the image code. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --0+35XlDF45POFHfm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg8rgACgkQFHw5/5Y0 tyyTPwv/cFHOJSzFgVNilPGlfxmd8VoEYWoe4pyZWeHThP251f77mnkFjS67eXYY STO9hUNuchXTeLD9QHKRpKw5m9zJgUUkm+c9ZOGkLtc6h+cT1PMf9v4Q1LJrqon+ OR4WiBs2MV4cDGNB16sSO7HEdAiWQKNzWO5ji7btRdhwhWua8pohdp0aXv7zUYvY iGlVLiEZ+VwqdEofTZ2KiaYAA3x+pX9lF9QOhHbvWIHBVweMB4CJveAK4yl02U90 xLMb9XIBQap1u1SdUPEA5fGtNC4IVPISfSpxNYBHB/E5StRfTd6N689/3lzccZAY lBYi1+jZR3fl6a+14cY0H3TpzGU+S1wKXwEBG+YbaN1hX820JwaIlQG2blzcGK6Z vxDrP26PxC12DedWoAzwDfbfwBTzrs70UEPeLESgvAhj168Sc7TE18J9Ki0AwJCP Ak5GmwNzH5Fuwyv0xBC0Il0cwHdFRCrTTnu1IquRfqpfDqFytg6pzup1JSkLLi/6 /tC1Pz+i =ZmZa -----END PGP SIGNATURE----- --0+35XlDF45POFHfm--