mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
boot/xilinx-prebuilt: only allow binaries for device family
Add an architecture cpu dependency to each family to make sure that users can only install prebuilt firmware which is applicable to their target device family. The versal family is based on BR2_cortex_a72. The kria and zynqmp families are based on BR2_cortex_a53. Signed-off-by: Neal Frager <neal.frager@amd.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
9e25bcfdab
commit
92f76f6c35
@@ -25,16 +25,20 @@ config BR2_TARGET_XILINX_PREBUILT_VERSION
|
||||
choice
|
||||
bool "family variant"
|
||||
default BR2_TARGET_XILINX_PREBUILT_VERSAL if BR2_PACKAGE_VERSAL_FIRMWARE # legacy
|
||||
default BR2_TARGET_XILINX_PREBUILT_VERSAL if BR2_cortex_a72
|
||||
default BR2_TARGET_XILINX_PREBUILT_ZYNQMP
|
||||
|
||||
config BR2_TARGET_XILINX_PREBUILT_ZYNQMP
|
||||
bool "zynqmp"
|
||||
depends on BR2_cortex_a53
|
||||
|
||||
config BR2_TARGET_XILINX_PREBUILT_KRIA
|
||||
bool "kria"
|
||||
depends on BR2_cortex_a53
|
||||
|
||||
config BR2_TARGET_XILINX_PREBUILT_VERSAL
|
||||
bool "versal"
|
||||
depends on BR2_cortex_a72
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user