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 3122AC00140 for ; Thu, 18 Aug 2022 07:56:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9654184989; Thu, 18 Aug 2022 09:56:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="crS8bkLE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BEFAA84A55; Thu, 18 Aug 2022 09:56:33 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (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 81C43848E0 for ; Thu, 18 Aug 2022 09:56:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 121F2B81BAF; Thu, 18 Aug 2022 07:56:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA4DCC433D7; Thu, 18 Aug 2022 07:56:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660809389; bh=UN/Ae6OJZU6a8z2EqUPXa74/c8HHdrPvuQR4oEFd/oc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=crS8bkLEt8u01uYjLD/J2g5XsLj/M2H8IZ0qbSYnkXhBg5ZpBCb3gY/a2c7g1DuAd uox0pmM3jbKp0RVzHtSR1DwZPzW04Ph/5AFQbUJy3qzsvZFuuMWzyWpfOGc+MIG6lw o7yVZuFjWsZypPAj9JtfFWndtDlF54WMGISmYGb4oD+sHgKgQR6r6VjuwHy8soXL3S NM6AajIgcMut/hqJ1WfaxfcekqoAQ87Fo0yf4jkXvIhYKKbINTapiof3JO3eZh7kjB PHpadvrTXXHNhe8KWszbq17pA8jzoygwlvgZpDLQ2I6jCmgUfF9DNcVcfPebJbFNu+ etyy42pny+CZQ== Received: by pali.im (Postfix) id 8CFC7622; Thu, 18 Aug 2022 09:56:26 +0200 (CEST) Date: Thu, 18 Aug 2022 09:56:26 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Simon Glass Cc: U-Boot Mailing List Subject: Re: [PATCH] Makefile: Unify condition for mpc85xx reset vector Message-ID: <20220818075626.lfrdvpy6flg4ci3n@pali> References: <20220803215655.2361-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 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.6 at phobos.denx.de X-Virus-Status: Clean On Wednesday 17 August 2022 19:13:08 Simon Glass wrote: > On Wed, 3 Aug 2022 at 15:57, Pali Rohár wrote: > > > > Use 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && CONFIG_OF_SEPARATE' pattern > > instead of 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && !CONFIG_OF_EMBED' also in > > OBJCOPYFLAGS_u-boot-nodtb.bin as this pattern is used in rest of Makefile. > > > > Signed-off-by: Pali Rohár > > --- > > Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Simon Glass > > Let's make a plan to move this to binman at some point. > Once all mpc pending patches which are waiting there for months are reviewed and merged, I can try to look at it. Until that I'm stopping any development in this area. Ball is _not_ on my side. > > > > > diff --git a/Makefile b/Makefile > > index d659c8118cba..23bf0c8b1e62 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -1267,7 +1267,7 @@ spl/u-boot-spl.srec: spl/u-boot-spl FORCE > > > > OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \ > > $(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec) \ > > - $(if $(CONFIG_MPC85XX_HAVE_RESET_VECTOR),$(if $(CONFIG_OF_EMBED),,-R .bootpg -R .resetvec)) > > + $(if $(CONFIG_MPC85XX_HAVE_RESET_VECTOR),$(if $(CONFIG_OF_SEPARATE),-R .bootpg -R .resetvec)) > > > > binary_size_check: u-boot-nodtb.bin FORCE > > @file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \ > > -- > > 2.20.1 > >