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 E44B9C32772 for ; Tue, 23 Aug 2022 14:29:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 000A484817; Tue, 23 Aug 2022 16:29:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de 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=fris.de header.i=@fris.de header.b="Ye81n8Cv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B49E484814; Tue, 23 Aug 2022 16:29:29 +0200 (CEST) Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 94526847EF for ; Tue, 23 Aug 2022 16:29:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=frieder@fris.de Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5BE3FC01B8; Tue, 23 Aug 2022 16:29:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1661264965; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=/ecPxXwr7Tu8bZWclHDfgrcoqa91ddSQ6G6s4FCYLdY=; b=Ye81n8CvCBqBmdRAcMYmic2HFEvG0YP9MpzZpULjbX+gQg/v6DfyFTa2U4seyjTKwlSQ+z OvIEIP3hNe3CwzAKrV1pYFhDwt1Jy7daiYw3hV3ixwD6YkXrHB44rdKa4KBhmv9V0c0UX/ OlnEhbH1D0aMrUz1VS81nvoHvOK8muLoJhTs9yFNWiFHuvQsBeuCAYoI0hAcxF/JD7aTuT N60tlTPMN8/NUTy1v35neCTgq4/4e2jBDTh2o/csBMauwnSlJNjzxIj1b+ZXP1+S+v36kV Rmg/WkmDrbGfsvx0NlDwm0uJEODMT1s6BPZo4adgFOtlSOEWZcjWe/4WNxIlxg== From: Frieder Schrempf To: u-boot@lists.denx.de Cc: Marcel Ziswiler , Frieder Schrempf , Heinrich Schuchardt , Simon Glass Subject: [PATCH 1/6] Makefile: Make flash.bin target available for all platforms Date: Tue, 23 Aug 2022 16:29:10 +0200 Message-Id: <20220823142917.306176-2-frieder@fris.de> In-Reply-To: <20220823142917.306176-1-frieder@fris.de> References: <20220823142917.306176-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 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 From: Frieder Schrempf There is no reason for restricting the use of the flash.bin target to the i.MX8 platform. Others can benefit from this as well. Signed-off-by: Frieder Schrempf --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff25f929748..cb8ccdea783 100644 --- a/Makefile +++ b/Makefile @@ -1546,7 +1546,7 @@ tpl/u-boot-with-tpl.bin: tpl/u-boot-tpl.bin u-boot.bin FORCE SPL: spl/u-boot-spl.bin FORCE $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ -ifeq ($(CONFIG_ARCH_IMX8M)$(CONFIG_ARCH_IMX8), y) +#ifeq ($(CONFIG_ARCH_IMX8M)$(CONFIG_ARCH_IMX8), y) ifeq ($(CONFIG_SPL_LOAD_IMX_CONTAINER), y) u-boot.cnt: u-boot.bin FORCE $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ @@ -1562,7 +1562,7 @@ flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ endif endif -endif +#endif u-boot.uim: u-boot.bin FORCE $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ -- 2.37.2