[meta-arm,v2,3/3] arm-bsp/trusted-firmware-a: Install dtbs from the generic TFA recipe

Submitted by Khasim Mohammed on Aug. 21, 2020, 4:09 p.m. | Patch ID: 175526

Details

Message ID 20200821160927.10598-3-khasim.mohammed@arm.com
State New
Headers show

Commit Message

Khasim Mohammed Aug. 21, 2020, 4:09 p.m.
Configure TFA_INSTALL_TARGET to multi-chip and single-chip dtbs,
avoid installing dtbs in platform specific recipe instead use the generic
step.

Change-Id: I79835f2c4f4d0bde938e43d6cf59f73392520935
Issue-Id: PLATFORMS-3971
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
---
 .../trusted-firmware-a/trusted-firmware-a-n1sdp.inc         | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
index c26cc78..84657ce 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
@@ -3,6 +3,7 @@ 
 COMPATIBLE_MACHINE = "n1sdp"
 TFA_PLATFORM       = "n1sdp"
 TFA_BUILD_TARGET   = "bl31 dtbs"
+TFA_INSTALL_TARGET = "bl31 n1sdp-multi-chip n1sdp-single-chip"
 TFA_DEBUG          = "1"
 TFA_MBEDTLS        = "0"
 TFA_UBOOT          = "0"
@@ -14,8 +15,3 @@  SRC_URI_append = " \
 SRCREV_tfa = "f0b1864f8e309a41d2eb1c9510f8cd3c7aacbb1d"
 
 PV = "2.3+git${SRCPV}"
-
-do_install_append() {
-    install -m 0644 "${BUILD_DIR}/fdts/n1sdp-single-chip.dtb" "${D}/firmware/n1sdp-single-chip.dtb"
-    install -m 0644 "${BUILD_DIR}/fdts/n1sdp-multi-chip.dtb" "${D}/firmware/n1sdp-multi-chip.dtb"
-}