From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 04 Feb 2022 09:20:19 +0100 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 1nFtpL-005Myq-H1 for lore@lore.pengutronix.de; Fri, 04 Feb 2022 09:20:19 +0100 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 1nFtpK-0001Wm-Q7; Fri, 04 Feb 2022 09:20:18 +0100 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFtpB-0001Wc-Ku; Fri, 04 Feb 2022 09:20:09 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nFtpB-0003Nk-9D; Fri, 04 Feb 2022 09:20:09 +0100 Date: Fri, 4 Feb 2022 09:20:09 +0100 From: Michael Olbrich To: Christian Melki Message-ID: <20220204082009.GE3897@pengutronix.de> Mail-Followup-To: Christian Melki , ptxdist@pengutronix.de References: <20211129194903.596814-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211129194903.596814-1-christian.melki@t2data.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 09:18:21 up 55 days, 17:03, 80 users, load average: 0.07, 0.20, 0.24 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH v2] U-Boot: Add TF-A dependency option. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, Nov 29, 2021 at 08:49:02PM +0100, Christian Melki wrote: > Let U-Boot depend on TF-A firmwares for inclusion. > TF-A firmwares are a common thing on various machines. I think, this should be handled like we do in barebox. Take a look at the firmware file handling that hit ptxdist master recently. Michael > Signed-off-by: Christian Melki > --- > platforms/u-boot.in | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/platforms/u-boot.in b/platforms/u-boot.in > index 4ddf3b3fb..410391fe8 100644 > --- a/platforms/u-boot.in > +++ b/platforms/u-boot.in > @@ -2,6 +2,7 @@ > > menuconfig U_BOOT > select BOOTLOADER > + select TF_A if U_BOOT_USE_TF_A > prompt "U-Boot " > bool > > @@ -71,12 +72,19 @@ config U_BOOT_CONFIG > > endif > > +config U_BOOT_USE_TF_A > + prompt "Include TF-A firmwares in U-Boot." > + bool > + help > + Generate TF-A (ARM Trusted Firmwares type A) to include in u-boot. > + > config U_BOOT_CUSTOM_MAKE_OPTS > prompt "Custom make options" > string > help > List of custom make options passed at build time. Can be > - used for example to pass a DEVICE_TREE= value. > + used for example to pass a DEVICE_TREE= value or passing > + TF-A firmware, BL31=${PTXDIST_PLATFORMDIR}/path-to/bl31.bin > > choice > prompt "Generate environment image" > -- > 2.30.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- 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 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de