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 516EAC433FE for ; Thu, 14 Oct 2021 00:21:13 +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 8D07060FDA for ; Thu, 14 Oct 2021 00:21:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8D07060FDA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.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 4C57883619; Thu, 14 Oct 2021 02:21:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.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 32F7683637; Thu, 14 Oct 2021 02:21:09 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id C104083612 for ; Thu, 14 Oct 2021 02:21:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 43F131063; Wed, 13 Oct 2021 17:21:05 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8FA263F694; Wed, 13 Oct 2021 17:21:04 -0700 (PDT) Date: Thu, 14 Oct 2021 01:19:48 +0100 From: Andre Przywara To: Samuel Holland Cc: u-boot@lists.denx.de, Jagan Teki Subject: Re: [PATCH] tools: mksunxiboot: Use sunxi_image header directly Message-ID: <20211014011948.1ad7c07f@slackpad.fritz.box> In-Reply-To: <20211013003542.44358-1-samuel@sholland.org> References: <20211013003542.44358-1-samuel@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 12 Oct 2021 19:35:41 -0500 Samuel Holland wrote: > When adding eGON support to mkimage, the struct boot_file_head > definition was moved to its own header. This is the only thing > mksunxiboot needed out of asm/arch/spl.h. Clean up the relative > include by switching to new header. > > Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara > --- > We switched from using mksunxiboot to mkimage in January, so maybe > it is about time to consider dropping this tool? Well, is there a reason to remove it? Otherwise I don't see a problem to keep it around for a while, 9 months is not a terribly long time for some people. Cheers, Andre. > > tools/mksunxiboot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c > index a18c9d98bc..becc36565b 100644 > --- a/tools/mksunxiboot.c > +++ b/tools/mksunxiboot.c > @@ -12,10 +12,10 @@ > #include > #include > #include > +#include > #include > #include > #include "imagetool.h" > -#include "../arch/arm/include/asm/arch-sunxi/spl.h" > > #define STAMP_VALUE 0x5F0A6C39 >