1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

arm/trusted-firmware-a: remove unused trusted-firmware-a 2.3

Change-Id: Ifb0bed130a6db8146f37a866385727805e00cd43
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-03-26 13:15:47 +00:00
committed by Jon Mason
parent 452bc97276
commit 8855e397bc
4 changed files with 0 additions and 126 deletions

View File

@@ -1,5 +0,0 @@
# Machine specific TFAs
MACHINE_TFA_REQUIRE ?= ""
require ${MACHINE_TFA_REQUIRE}

View File

@@ -1,34 +0,0 @@
Upstream-Status: Backport [e3c152d1156af8a4b6453376454ecdceaf81704c]
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
From e3c152d1156af8a4b6453376454ecdceaf81704c Mon Sep 17 00:00:00 2001
From: lakshmi Kailasanathan <lakshmi.Kailasanathan@arm.com>
Date: Fri, 17 Apr 2020 12:52:19 +0100
Subject: [PATCH] fdts: a5ds: Fix for the system timer issue.
A5DS FPGA system timer clock frequency is 7.5Mhz.
The dt is file updated inline with the hardware
clock frequency.
Change-Id: I3f6c2e0d4a7b293175a42cf398a8730448504af9
Signed-off-by: lakshmi Kailasanathan <lakshmi.Kailasanathan@arm.com>
---
fdts/a5ds.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fdts/a5ds.dts b/fdts/a5ds.dts
index 7334c4559..c6f5be6fa 100644
--- a/fdts/a5ds.dts
+++ b/fdts/a5ds.dts
@@ -128,7 +128,7 @@
#size-cells = <1>;
ranges;
reg = <0x1a040000 0x1000>;
- clock-frequency = <50000000>;
+ clock-frequency = <7500000>;
frame@1a050000 {
frame-number = <0>;
--
2.17.1

View File

@@ -1,52 +0,0 @@
From 39d139a56c54856a718218e30114f732188832ea Mon Sep 17 00:00:00 2001
From: Brett Warren <brett.warren@arm.com>
Date: Fri, 27 Nov 2020 14:41:43 +0000
Subject: [PATCH] make: link compiler-rt builtins when 32-bit
Compiler-rt builtins weren't previously linked when using
GNU ld to link for aarch32; this is now explicitly linked
in.
For use with TFA 2.3
Upstream-Status: Pending
Signed-off-by: Brett Warren <brett.warren@arm.com>
---
Makefile | 7 +++++++
make_helpers/build_macros.mk | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index f01a9ae3e..493b80b14 100644
--- a/Makefile
+++ b/Makefile
@@ -243,6 +243,13 @@ endif
AS = $(CC) -c -x assembler-with-cpp $(TF_CFLAGS_$(ARCH))
CPP = $(CC) -E
PP = $(CC) -E
+ifeq (${ARCH},aarch32)
+RUNTIME_LIB = $(shell $(CC) --sysroot=$(RUNTIME_SYSROOT) \
+ $(shell sed 's/none/linux/' <<< '$(target32-directive)') \
+ -mfloat-abi=$(TARGET_FPU) \
+ -rtlib=compiler-rt \
+ -print-libgcc-file-name 2> /dev/null)
+endif
else ifneq ($(findstring gcc,$(notdir $(CC))),)
TF_CFLAGS_aarch32 = $(march32-directive)
TF_CFLAGS_aarch64 = $(march64-directive)
diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk
index 1c3d14d05..2a1abd4fe 100644
--- a/make_helpers/build_macros.mk
+++ b/make_helpers/build_macros.mk
@@ -482,7 +482,7 @@ ifneq ($(findstring armlink,$(notdir $(LD))),)
else ifneq ($(findstring gcc,$(notdir $(LD))),)
$$(Q)$$(LD) -o $$@ $$(TF_LDFLAGS) $$(LDFLAGS) -Wl,-Map=$(MAPFILE) \
-Wl,-T$(LINKERFILE) $(BUILD_DIR)/build_message.o \
- $(OBJS) $(LDPATHS) $(LIBWRAPPER) $(LDLIBS) $(BL_LIBS)
+ $(OBJS) $(LDPATHS) $(LIBWRAPPER) $(LDLIBS) $(BL_LIBS) $(RUNTIME_LIB)
else
$$(Q)$$(LD) -o $$@ $$(TF_LDFLAGS) $$(LDFLAGS) $(BL_LDFLAGS) -Map=$(MAPFILE) \
--script $(LINKERFILE) $(BUILD_DIR)/build_message.o \
--
2.17.1

View File

@@ -1,35 +0,0 @@
#
# Trusted firmware-A 2.3
#
require trusted-firmware-a.inc
# Use TF-A for version
SRCREV_FORMAT = "tfa"
# TF-A v2.3
SRCREV_tfa = "ecd27ad85f1eba29f6bf92c39dc002c85b07dad5"
LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
SRC_URI += "file://0001-fdts-a5ds-Fix-for-the-system-timer-issue.patch"
#
# mbed TLS source
# Those are used in trusted-firmware-a.inc if TFA_MBEDTLS is set to 1
#
SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=mbedtls-2.18"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:"
SRC_URI += " \
file://0001-make-link-compiler-rt-builtins-when-32-bit-2-3.patch \
"
# mbed TLS v2.18.1
SRCREV_mbedtls = "ca933c7e0c9e84738b168b6b0feb89af4183a60a"
LIC_FILES_CHKSUM_MBEDTLS = " \
file://mbedtls/apache-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://mbedtls/LICENSE;md5=302d50a6369f5f22efdb674db908167a \
"