[2/5] arm/trusted-firmware-a: move SRCREV_FORMAT to common include

Message ID 20211207181956.900131-2-ross.burton@arm.com
State New
Headers show
Series [1/5] trusted-firmware-a: don't use virtual/trusted-firmware-a | expand

Commit Message

Ross Burton Dec. 7, 2021, 6:19 p.m. UTC
Instead of every versioned recipe setting this, move it to the common
include.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 ++
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb   | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
index 40c9e9e3..b1a75229 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
+++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
@@ -9,6 +9,8 @@  SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=ht
            file://ssl.patch"
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
+SRCREV_FORMAT = "tfa"
+
 COMPATIBLE_MACHINE ?= "invalid"
 
 # Platform must be set for each machine
diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb
index 15e689a8..15c4e5df 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.5.bb
@@ -1,8 +1,5 @@ 
 require trusted-firmware-a.inc
 
-# Use TF-A for version
-SRCREV_FORMAT = "tfa"
-
 # TF-A v2.5
 SRCREV_tfa = "1e13c500a0351ac4b55d09a63f7008e2438550f8"