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 38F3CC433EF for ; Wed, 15 Jun 2022 06:49:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED20884484; Wed, 15 Jun 2022 08:48:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="Qnji7eSo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80E4B84465; Wed, 15 Jun 2022 08:48:40 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 F16E984465 for ; Wed, 15 Jun 2022 08:48:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-francis@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25F6mYEf096710; Wed, 15 Jun 2022 01:48:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655275714; bh=HZR6TBnF5Zd1ZrxB5XGv5dIAcRNEYuMJJoq3G2KLvkk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Qnji7eSoFI+pQ0TVVELcwosYm9FHNvhhN/MsjUJ9xlwY0UNwjkxywFcd4in0BknwC SyWbKWaZ407VIhZlO6QphQoHh4Xce6FpzGyeyDs3ZJbLtNU5zm54b9JOYOGgGsWqzo MR80sHKzgG49ZV7G8UisOahVk2ck6Z9bSNbg7NPY= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25F6mY1j015856 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Jun 2022 01:48:34 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 15 Jun 2022 01:48:34 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 15 Jun 2022 01:48:34 -0500 Received: from ula0497641.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25F6m5Dx015696; Wed, 15 Jun 2022 01:48:31 -0500 From: Neha Malcom Francis To: , , , , CC: , Subject: [PATCH RFC v3 08/11] ti: j721e: Exclude makefile tispl.bin target for J721E Date: Wed, 15 Jun 2022 12:18:01 +0530 Message-ID: <20220615064804.29553-9-n-francis@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220615064804.29553-1-n-francis@ti.com> References: <20220615064804.29553-1-n-francis@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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.5 at phobos.denx.de X-Virus-Status: Clean tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using binman. The tispl.bin target from the makefile is no longer needed for J721E. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 5 +++++ scripts/Makefile.spl | 2 ++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk index d706d17788..dd5e42d9df 100644 --- a/arch/arm/mach-k3/config.mk +++ b/arch/arm/mach-k3/config.mk @@ -74,6 +74,7 @@ ifeq ($(CONFIG_SOC_K3_J721E),) export DM := /dev/null endif +ifndef CONFIG_TARGET_J721E_A72_EVM ifeq ($(CONFIG_TI_SECURE_DEVICE),y) SPL_ITS := u-boot-spl-k3_HS.its $(SPL_ITS): export IS_HS=1 @@ -98,9 +99,11 @@ cmd_k3_mkits = \ $(SPL_ITS): FORCE $(call cmd,k3_mkits) endif +endif else +ifndef CONFIG_TARGET_J721E_A72_EVM ifeq ($(CONFIG_TI_SECURE_DEVICE),y) INPUTS-y += u-boot.img_HS else @@ -108,4 +111,6 @@ INPUTS-y += u-boot.img endif endif +endif + include $(srctree)/arch/arm/mach-k3/config_secure.mk diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index f047d4e094..6104cb8587 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -591,6 +591,8 @@ $(obj)/$(SPL_BIN).multidtb.fit.lzo: $(obj)/$(SPL_BIN).multidtb.fit @lzop -f9 $< > $@ ifdef CONFIG_ARCH_K3 +ifndef CONFIG_TARGET_J721E_A72_EVM tispl.bin: $(obj)/u-boot-spl-nodtb.bin $(SHRUNK_ARCH_DTB) $(SPL_ITS) FORCE $(call if_changed,mkfitimage) endif +endif -- 2.17.1