mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] U-Boot: Add TF-A dependency option.
@ 2021-11-29 19:49 Christian Melki
  2021-11-29 19:49 ` [ptxdist] [PATCH v2] U-Boot: Add option to disable OOT builds Christian Melki
  2022-02-04  8:20 ` [ptxdist] [PATCH v2] U-Boot: Add TF-A dependency option Michael Olbrich
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Melki @ 2021-11-29 19:49 UTC (permalink / raw)
  To: ptxdist

Let U-Boot depend on TF-A firmwares for inclusion.
TF-A firmwares are a common thing on various machines.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-04  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 19:49 [ptxdist] [PATCH v2] U-Boot: Add TF-A dependency option Christian Melki
2021-11-29 19:49 ` [ptxdist] [PATCH v2] U-Boot: Add option to disable OOT builds Christian Melki
2021-11-30  5:43   ` Alexander Dahl
2021-11-30  8:04   ` Alexander Dahl
2022-02-04  8:20 ` [ptxdist] [PATCH v2] U-Boot: Add TF-A dependency option Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox