[meta-arm,v2,6/6] arm-bsp: musca_s1: Add machine

Submitted by Gabor Abonyi on July 1, 2020, 1:19 p.m. | Patch ID: 174128

Details

Message ID 20200701131940.3084-7-gabor.abonyi@arm.com
State New
Headers show

Commit Message

Gabor Abonyi July 1, 2020, 1:19 p.m.
Add Musca S1 machine. Also add it to the supported targets
for Trusted Firmware M.

Change-Id: I58cee5f71d695e364b324b7c92db920b4b1a3b69
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
---
 meta-arm-bsp/conf/machine/musca_s1.conf               | 11 +++++++++++
 .../trusted-firmware-m/trusted-firmware-m_%.bbappend  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 meta-arm-bsp/conf/machine/musca_s1.conf

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/machine/musca_s1.conf b/meta-arm-bsp/conf/machine/musca_s1.conf
new file mode 100644
index 0000000..4b6b575
--- /dev/null
+++ b/meta-arm-bsp/conf/machine/musca_s1.conf
@@ -0,0 +1,11 @@ 
+# Configuration for Musca-S1 development board
+
+#@TYPE: Machine
+#@NAME: Musca-S1 machine
+#@DESCRIPTION: Machine configuration for Musca-S1
+
+EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-m"
+
+PREFERRED_VERSION_trusted-firmware-m = "1.0"
+
+require armv8m.inc
diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend b/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend
index f86e2b1..32b50b7 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend
@@ -1,2 +1,4 @@ 
-COMPATIBLE_MACHINE = "musca_b1"
+COMPATIBLE_MACHINE = "musca_b1|musca_s1"
+
 TFM_PLATFORM_musca_b1 = "MUSCA_B1"
+TFM_PLATFORM_musca_s1 = "MUSCA_S1"