aboutsummaryrefslogtreecommitdiff
path: root/services/spd/trusty/trusty.mk
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2015-05-12 19:23:24 -0700
committerArve Hjønnevåg <arve@android.com>2018-01-24 17:39:36 -0800
commit61496151c0a1fc692ba0e58d34d1fde7c1c31808 (patch)
tree66d10511fb3d970057d5ff9cc65f848f3c153c2d /services/spd/trusty/trusty.mk
parent7c3309c901f7336f4d459b99d180df0e6750c3d2 (diff)
downloadtrusted-firmware-a-61496151c0a1fc692ba0e58d34d1fde7c1c31808.tar.gz
trusty: Add generic-arm64 support
Add smc calls to return gic base address and print to the debug console. Allows running a generic trusty binary. Change-Id: I4b6540f140f11432cdff43c3f5a2097df09dc9d1 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'services/spd/trusty/trusty.mk')
-rw-r--r--services/spd/trusty/trusty.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/spd/trusty/trusty.mk b/services/spd/trusty/trusty.mk
index 920504c70..2e51bd5cb 100644
--- a/services/spd/trusty/trusty.mk
+++ b/services/spd/trusty/trusty.mk
@@ -9,4 +9,8 @@ SPD_INCLUDES :=
SPD_SOURCES := services/spd/trusty/trusty.c \
services/spd/trusty/trusty_helpers.S
+ifeq (${TRUSTY_SPD_WITH_GENERIC_SERVICES},1)
+SPD_SOURCES += services/spd/trusty/generic-arm64-smcall.c
+endif
+
NEED_BL32 := yes