boot/xilinx-embeddedsw: only allow apps for device family
Add an architecture cpu dependency to each application to make sure that users can only build applications which are applicable to their target device family. The versal_plm and versal_psmfw applications are specific to versal devices which are based on BR2_cortex_a72. The zynqmp_pmufw application is specific to zynqmp devices which 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
5b1a52aea0
commit
9e25bcfdab
@@ -28,6 +28,7 @@ config BR2_TARGET_XILINX_EMBEDDEDSW_VERSION
|
||||
|
||||
config BR2_TARGET_XILINX_EMBEDDEDSW_VERSAL_PLM
|
||||
bool "versal plm"
|
||||
depends on BR2_cortex_a72
|
||||
help
|
||||
Build versal plm application from Xilinx/embeddedsw repo.
|
||||
If selected, the xilinx-prebuilt package will not install
|
||||
@@ -38,6 +39,7 @@ config BR2_TARGET_XILINX_EMBEDDEDSW_VERSAL_PLM
|
||||
|
||||
config BR2_TARGET_XILINX_EMBEDDEDSW_VERSAL_PSMFW
|
||||
bool "versal psmfw"
|
||||
depends on BR2_cortex_a72
|
||||
help
|
||||
Build versal psmfw application from Xilinx/embeddedsw repo.
|
||||
If selected, the xilinx-prebuilt package will not install
|
||||
@@ -48,6 +50,7 @@ config BR2_TARGET_XILINX_EMBEDDEDSW_VERSAL_PSMFW
|
||||
|
||||
config BR2_TARGET_XILINX_EMBEDDEDSW_ZYNQMP_PMUFW
|
||||
bool "zynqmp pmufw"
|
||||
depends on BR2_cortex_a53
|
||||
help
|
||||
Build zynqmp pmufw application from Xilinx/embeddedsw repo.
|
||||
If selected, the xilinx-prebuilt package will not install
|
||||
|
||||
Reference in New Issue
Block a user