All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v6 1/5] boot: add BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS
@ 2025-08-14  5:26 Neal Frager via buildroot
  2025-08-14  5:26 ` [Buildroot] [PATCH v6 2/5] boot/xilinx-embeddedsw: only allow apps for device family Neal Frager via buildroot
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Neal Frager via buildroot @ 2025-08-14  5:26 UTC (permalink / raw)
  To: buildroot
  Cc: ibai.erkiaga-elorza, luca.ceresoli, yann.morin, brandon.maier,
	ju.o, Neal Frager, thomas.petazzoni, romain.naour, michal.simek,
	romain.naour

This patch creates a new symbol BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS to
make sure that the xilinx-embeddedsw and xilinx-prebuilt boot packages only
appear in the bootloaders menu when a valid aarch64 cpu is selected.

Signed-off-by: Neal Frager <neal.frager@amd.com>
---
V6:
- new patch added to series
---
 boot/Config.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/boot/Config.in b/boot/Config.in
index f167346cdf..08a6c8353d 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -1,3 +1,11 @@
+config BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS
+	bool
+	default y
+	# All Xilinx SoCs using this package are aarch64 only
+	depends on BR2_aarch64
+	# only CPUs with corresponding firmwares:
+	depends on BR2_cortex_a53 || BR2_cortex_a72
+
 menu "Bootloaders"
 
 source "boot/afboot-stm32/Config.in"
@@ -19,7 +27,10 @@ source "boot/ti-k3-boot-firmware/Config.in"
 source "boot/ti-k3-r5-loader/Config.in"
 source "boot/uboot/Config.in"
 source "boot/vexpress-firmware/Config.in"
+
+if BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS
 source "boot/xilinx-embeddedsw/Config.in"
 source "boot/xilinx-prebuilt/Config.in"
+endif
 
 endmenu
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-08-31 13:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14  5:26 [Buildroot] [PATCH v6 1/5] boot: add BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS Neal Frager via buildroot
2025-08-14  5:26 ` [Buildroot] [PATCH v6 2/5] boot/xilinx-embeddedsw: only allow apps for device family Neal Frager via buildroot
2025-08-29  9:02   ` Luca Ceresoli via buildroot
2025-08-31 13:40     ` Frager, Neal via buildroot
2025-08-14  5:26 ` [Buildroot] [PATCH v6 3/5] boot/xilinx-prebuilt: only allow binaries " Neal Frager via buildroot
2025-08-14  5:26 ` [Buildroot] [PATCH v6 4/5] configs/versal_*: make savedefconfig cleaning Neal Frager via buildroot
2025-08-29  9:05   ` Luca Ceresoli via buildroot
2025-08-14  5:26 ` [Buildroot] [PATCH v6 5/5] boot/uboot: use BR2_TARGET_XILINX_FIRMWARE_ARCH_SUPPORTS Neal Frager via buildroot
2025-08-29  9:07   ` Luca Ceresoli via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.