mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
boot/arm-trusted-firmware: allow to generate BL2 from RCW
This patch adds the option BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW that allows TF-A to encapsulate a pre-loaded RCW (Reset Configuration Word) file into BL2. Upcoming NXP QorIQ family board needs this option. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
028611be71
commit
4a340349bc
@@ -162,6 +162,14 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
|
|||||||
for the 'qemu_sbsa' platform. In this case, due to the EDK2
|
for the 'qemu_sbsa' platform. In this case, due to the EDK2
|
||||||
build system, the dependency between ATF and EDK is reversed.
|
build system, the dependency between ATF and EDK is reversed.
|
||||||
|
|
||||||
|
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW
|
||||||
|
bool "Include NXP RCW in BL2"
|
||||||
|
depends on BR2_PACKAGE_HOST_QORIQ_RCW
|
||||||
|
help
|
||||||
|
Include the NXP RCW (Reset Control Word) in BL2. See
|
||||||
|
package/qoriq-rcw/ for more details. This is mostly useful
|
||||||
|
on NXP LayerScape platforms.
|
||||||
|
|
||||||
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS
|
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS
|
||||||
string "Additional ATF make targets"
|
string "Additional ATF make targets"
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -144,6 +144,12 @@ define ARM_TRUSTED_FIRMWARE_BUILD_FIPTOOL
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW),y)
|
||||||
|
ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-qoriq-rcw
|
||||||
|
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += pbl
|
||||||
|
ARM_TRUSTED_FIRMWARE_MAKE_OPTS += RCW=$(BINARIES_DIR)/PBL.bin
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31),y)
|
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31),y)
|
||||||
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += bl31
|
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += bl31
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user