mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-05 05:04:47 +02:00
bsp: u-boot: remove duplicate trusted-firmware-a dependency for SoCs with open DDR init
For SoCs with open DDR init in U-Boot, there's no need for anything but the BL31 from TF-A (maybe OP-TEE as well but that's off-topic) in U-Boot. This is already handled by the TFA_DEPENDS variable outside of this git context, so there's no need to duplicate it here. By keeping the rockchip-rkbin dependency in INIT_FIRMWARE_DEPENDS and use the PREFERRED_PROVIDER mechanism for selecting rockchip-rkbin as provider for trusted-firmware-a as passed to TFA_DEPENDS, we make explicit the dependency on two different pieces of software, though currently provided by the same recipe. The point being that this should prepare us and at the very least break the build if we forget, for when open BL31 TF-A (so coming from trusted-firmware-a recipe and not rockchip-rkbin) is released and we can have rockchip-rkbin provide only the DDR bin and upstream TF-A provide BL31 TF-A and still have a proper dependency scheme. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
parent
6ab892f275
commit
2383ed5a25
|
@ -22,10 +22,7 @@ EXTRA_OEMAKE:append:rk3568 = " ROCKCHIP_TPL=${DEPLOY_DIR_IMAGE}/ddr-rk3568.bin"
|
|||
EXTRA_OEMAKE:append:rk3588s = " ROCKCHIP_TPL=${DEPLOY_DIR_IMAGE}/ddr-rk3588.bin"
|
||||
|
||||
INIT_FIRMWARE_DEPENDS ??= ""
|
||||
INIT_FIRMWARE_DEPENDS:px30 = " trusted-firmware-a:do_deploy"
|
||||
INIT_FIRMWARE_DEPENDS:rk3308 = " rockchip-rkbin:do_deploy"
|
||||
INIT_FIRMWARE_DEPENDS:rk3328 = " trusted-firmware-a:do_deploy"
|
||||
INIT_FIRMWARE_DEPENDS:rk3399 = " trusted-firmware-a:do_deploy"
|
||||
INIT_FIRMWARE_DEPENDS:rk3568 = " rockchip-rkbin:do_deploy"
|
||||
INIT_FIRMWARE_DEPENDS:rk3588s = " rockchip-rkbin:do_deploy"
|
||||
do_compile[depends] .= "${INIT_FIRMWARE_DEPENDS}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user