[meta-arm,v2,2/3] arm-bsp/trusted-firmware-a: Add support for 32-bit FVP_BASE machine

Submitted by Anders Dellien on Aug. 5, 2020, 10:36 a.m. | Patch ID: 175038

Details

Message ID 20200805103613.544-2-anders@andersdellien.se
State New
Headers show

Commit Message

Anders Dellien Aug. 5, 2020, 10:36 a.m.
From: Anders Dellien <anders.dellien@arm.com>

Change-Id: Ia2b51de62564ed3f1489d749c0e7d78459fda993
Signed-off-by: Anders Dellien <anders.dellien@arm.com>
---
 .../trusted-firmware-a-fvp-arm32.inc                 | 12 ++++++++++++
 .../trusted-firmware-a_2.2.bbappend                  |  1 +
 2 files changed, 13 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-fvp-arm32.inc

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-fvp-arm32.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-fvp-arm32.inc
new file mode 100644
index 0000000..5684802
--- /dev/null
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-fvp-arm32.inc
@@ -0,0 +1,12 @@ 
+# Armv7-A FVP specific TFA parameters
+
+COMPATIBLE_MACHINE = "fvp-base-arm32"
+TFA_PLATFORM = "fvp"
+TFA_UBOOT = "1"
+TFA_BUILD_TARGET = "dtbs bl1 bl1 bl32 fip"
+
+EXTRA_OEMAKE_append = " \
+    ARCH=aarch32 \
+    AARCH32_SP=sp_min \
+    "
+
diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bbappend b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bbappend
index a87999f..81138d3 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bbappend
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bbappend
@@ -2,6 +2,7 @@ 
 
 MACHINE_TFA_REQUIRE ?= ""
 MACHINE_TFA_REQUIRE_n1sdp = "trusted-firmware-a-n1sdp.inc"
+MACHINE_TFA_REQUIRE_fvp-base-arm32 = "trusted-firmware-a-fvp-arm32.inc"
 
 require ${MACHINE_TFA_REQUIRE}