mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
boot/xilinx-prebuilt: add support for plmfw.elf filename
AMD / Xilinx has made the decision to change the name of plm.elf to plmfw.elf
in the prebuilt binaries repo starting with the next update.
This patch updates the xilinx-prebuilt package to support either the old
plm.elf filename or the new plmfw.elf filename.
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>
(cherry picked from commit 6f435187c6)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
committed by
Titouan Christophe
parent
713f7c47f8
commit
d747b7aae1
@@ -28,7 +28,8 @@ XILINX_PREBUILT_BOARD_DIR = $(@D)/$(XILINX_PREBUILT_BOARD)-$(XILINX_PREBUILT_FAM
|
|||||||
|
|
||||||
ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL),y)
|
ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL),y)
|
||||||
ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA),y)
|
ifeq ($(BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA),y)
|
||||||
XILINX_PREBUILT_PLM = $(@D)/pdi_files/gen_files/plm.elf
|
# Supports either plm.elf or plmfw.elf filenames
|
||||||
|
XILINX_PREBUILT_PLM = $(@D)/pdi_files/gen_files/plm*.elf
|
||||||
# Unlike the psmfw.elf file for Xilinx development boards,
|
# Unlike the psmfw.elf file for Xilinx development boards,
|
||||||
# AMD Vivado Design Suite currently generates a file named psm_fw.elf.
|
# AMD Vivado Design Suite currently generates a file named psm_fw.elf.
|
||||||
# Future versions of AMD Vivado will generate a file named psmfw.elf,
|
# Future versions of AMD Vivado will generate a file named psmfw.elf,
|
||||||
@@ -60,7 +61,8 @@ define XILINX_PREBUILT_INSTALL_VERSAL_XSA_PLD_PDI
|
|||||||
endef
|
endef
|
||||||
endif # BR2_TARGET_XILINX_PREBUILT_VERSAL_PLD_PDI
|
endif # BR2_TARGET_XILINX_PREBUILT_VERSAL_PLD_PDI
|
||||||
else # BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA
|
else # BR2_TARGET_XILINX_PREBUILT_VERSAL_XSA
|
||||||
XILINX_PREBUILT_PLM = $(XILINX_PREBUILT_BOARD_DIR)/plm.elf
|
# Supports either plm.elf or plmfw.elf filenames
|
||||||
|
XILINX_PREBUILT_PLM = $(XILINX_PREBUILT_BOARD_DIR)/plm*.elf
|
||||||
XILINX_PREBUILT_PSMFW = $(XILINX_PREBUILT_BOARD_DIR)/psmfw.elf
|
XILINX_PREBUILT_PSMFW = $(XILINX_PREBUILT_BOARD_DIR)/psmfw.elf
|
||||||
# We need the *.pdi glob, because the file has different names for the
|
# We need the *.pdi glob, because the file has different names for the
|
||||||
# different boards, and it has to be named boot.pdi when installed.
|
# different boards, and it has to be named boot.pdi when installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user