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 B8112C38A02 for ; Mon, 31 Oct 2022 04:26:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD6EF85506; Mon, 31 Oct 2022 05:26:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="AOxYETKs"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="laM5AUQ9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D8DEC8550D; Mon, 31 Oct 2022 05:26:24 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 7960A853B3 for ; Mon, 31 Oct 2022 05:26:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 132085C0078; Mon, 31 Oct 2022 00:26:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 31 Oct 2022 00:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1667190381; x=1667276781; bh=WyMr4MbRfGJT893K1/9Ggrys/ LL+nzKJXzYmyVEZAn4=; b=AOxYETKsm2Mtg7jkKBqATtZaOrgnK8p+j1gSxCQEq 8c2M7w+c9iozz48s+ppi94MJyteG9YXcPp21eAROrEVBX7NwIQqtsI/4hlhQGXPw T+ll9beHBM6GcMNMEMD3Yauiq4tEhzj9c9CiC9dYC+TvnRFcXEV/TVlf8NIUUhHG VJP899F57L3H6BkLg0aEXW9Yf3pONPzNivlzut6M2mudrzzgSiBwvREojOLt0wuJ Tic+UjE+K/VAhHLq4uq/s+IjZ4hzhYMCXCCXXo6bGIAcP9a7UOSGZQ2KZiuXCdMJ e7l2t3q30rqjHbHulpI2gkqlvEycMXEr8/x4B2kQMi7pQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1667190381; x=1667276781; bh=WyMr4MbRfGJT893K1/9Ggrys/LL+nzKJXzY myVEZAn4=; b=laM5AUQ9AvhFNyDjZ1TDYITre6scUfA20Mtze6OjDD0nef+bRM7 ORgI2Bh0pGl6YpnIVYxyN+32EPwAc7vYYkSFDzTQoNCAEYdkAdbfCKEWzno7ADfV AUssRu9Urztctz1PRXUDmpfOrDgx0mviqO9ILzjpgiSxmxm7d6opiOifCXlFnQyY fXeW5PidVreVvXsIMePy/ykMYKi6hs9fNB7YwMA8xpgQkfNSRxsZBBNLGr5Usfl4 okBH5rpU+ixOgVmvoUHYDInRi92b9g+SquaAKi+m6IadoGF/u4mbRA8e4b/hQoeh T3qetv+/KemwMqn2Nv/wdgZVgf2k16m9s3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedruddugdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtre dttdenucfhrhhomhepufgrmhhuvghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhho lhhlrghnugdrohhrgheqnecuggftrfgrthhtvghrnhepkeevlefhjeeuleeltedvjedvfe efteegleehueejffehgffffeekhefhhfekkeegnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Oct 2022 00:26:20 -0400 (EDT) From: Samuel Holland To: u-boot@lists.denx.de Cc: Simon Glass , Samuel Holland Subject: [PATCH] spl: Fix SPL_ATF and SPL_OPENSBI dependencies Date: Sun, 30 Oct 2022 23:26:19 -0500 Message-Id: <20221031042619.51622-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The code for these two options depends on having the FIT loadables recorded in the FDT. Thus, these options require the full version of the SPL_LOAD_FIT code. Signed-off-by: Samuel Holland --- common/spl/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index b738c749ff..4d4fa58c0c 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1439,7 +1439,8 @@ config SPL_YMODEM_SUPPORT config SPL_ATF bool "Support ARM Trusted Firmware" - depends on ARM64 && SPL_FIT + depends on ARM64 + depends on SPL_LOAD_FIT && !SPL_FIT_IMAGE_TINY help ATF(ARM Trusted Firmware) is a component for ARM AArch64 which is loaded by SPL (which is considered as BL2 in ATF terminology). @@ -1486,6 +1487,7 @@ config SPL_OPTEE_IMAGE config SPL_OPENSBI bool "Support RISC-V OpenSBI" depends on RISCV && SPL_RISCV_MMODE && RISCV_SMODE + depends on SPL_LOAD_FIT && !SPL_FIT_IMAGE_TINY help OpenSBI is an open-source implementation of the RISC-V Supervisor Binary Interface (SBI) specification. U-Boot supports the OpenSBI FW_DYNAMIC -- 2.37.3