From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Jun 2023 08:49:41 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q4c7y-005RXK-HH for lore@lore.pengutronix.de; Thu, 01 Jun 2023 08:49:41 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q4c7w-0005TA-2t; Thu, 01 Jun 2023 08:49:40 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q4c7u-0005Sy-SF; Thu, 01 Jun 2023 08:49:38 +0200 Message-ID: Date: Thu, 1 Jun 2023 08:49:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Michael Olbrich References: <20230601064811.628050-1-a.fatoum@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230601064811.628050-1-a.fatoum@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [DistroKit] [PATCH] v8a: barebox: add missing dependency on TF_A for i.MX X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "distrokit@pengutronix.de" Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello Michael, On 01.06.23 08:48, Ahmad Fatoum wrote: > Unlike firmware-rockchip, firmware-imx doesn't ship BL31 (TF-A). Instead > we configure the upstream TF-A rule to build images for i.MX8M Quad, > Mini and Plus. > > With the switch to the upstream barebox rule, this dependency on TF-A > got lost breaking less-parallel fresh builds, so let's add it back. > > Preferably, TF_A would be selected directly from the barebox rule's > Kconfig. There's a BAREBOX_DEPENDENCIES option for that, but I don't > know if it's possible to extend barebox.in without having to duplicate > it fully, so adding it to firmware-imx should suffice for now. Is there something like post/barebox-fixup.make, but for Kconfig files that I should be using instead? > Signed-off-by: Ahmad Fatoum > --- > configs/platform-v8a/rules/firmware-imx.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/platform-v8a/rules/firmware-imx.in b/configs/platform-v8a/rules/firmware-imx.in > index 5f06a44416fa..c756b963e5dc 100644 > --- a/configs/platform-v8a/rules/firmware-imx.in > +++ b/configs/platform-v8a/rules/firmware-imx.in > @@ -10,6 +10,7 @@ menuconfig FIRMWARE_IMX > config BAREBOX_DEPENDENCIES > tristate > select FIRMWARE_IMX > + select TF_A > > if FIRMWARE_IMX > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |