aboutsummaryrefslogtreecommitdiffstats
path: root/bl32/tsp/tsp.mk
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-08-04 11:41:20 +0100
committerDan Handley <dan.handley@arm.com>2014-08-19 10:55:54 +0100
commit5a06bb7e0b3ec6c98857423f52a1f98b54e46303 (patch)
treeb4a608f3de36ebc2bf17560175d22755e0411d30 /bl32/tsp/tsp.mk
parentda0af78aa230d3a873923e05643071f761f593e2 (diff)
downloadplatform_external_arm-trusted-firmware-5a06bb7e0b3ec6c98857423f52a1f98b54e46303.tar.gz
platform_external_arm-trusted-firmware-5a06bb7e0b3ec6c98857423f52a1f98b54e46303.tar.bz2
platform_external_arm-trusted-firmware-5a06bb7e0b3ec6c98857423f52a1f98b54e46303.zip
Clarify platform porting interface to TSP
* Move TSP platform porting functions to new file: include/bl32/tsp/platform_tsp.h. * Create new TSP_IRQ_SEC_PHY_TIMER definition for use by the generic TSP interrupt handling code, instead of depending on the FVP specific definition IRQ_SEC_PHY_TIMER. * Rename TSP platform porting functions from bl32_* to tsp_*, and definitions from BL32_* to TSP_*. * Update generic TSP code to use new platform porting function names and definitions. * Update FVP port accordingly and move all TSP source files to: plat/fvp/tsp/. * Update porting guide with above changes. Note: THIS CHANGE REQUIRES ALL PLATFORM PORTS OF THE TSP TO BE UPDATED Fixes ARM-software/tf-issues#167 Change-Id: Ic0ff8caf72aebb378d378193d2f017599fc6b78f
Diffstat (limited to 'bl32/tsp/tsp.mk')
-rw-r--r--bl32/tsp/tsp.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/bl32/tsp/tsp.mk b/bl32/tsp/tsp.mk
index 02cc13d32..f17ef1e15 100644
--- a/bl32/tsp/tsp.mk
+++ b/bl32/tsp/tsp.mk
@@ -28,6 +28,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#
+INCLUDES += -Iinclude/bl32/tsp
+
BL32_SOURCES += bl32/tsp/tsp_main.c \
bl32/tsp/aarch64/tsp_entrypoint.S \
bl32/tsp/aarch64/tsp_exceptions.S \
@@ -50,7 +52,7 @@ $(eval $(call add_define,TSP_INIT_ASYNC))
# Include the platform-specific TSP Makefile
# If no platform-specific TSP Makefile exists, it means TSP is not supported
# on this platform.
-TSP_PLAT_MAKEFILE := bl32/tsp/tsp-${PLAT}.mk
+TSP_PLAT_MAKEFILE := plat/${PLAT}/tsp/tsp-${PLAT}.mk
ifeq (,$(wildcard ${TSP_PLAT_MAKEFILE}))
$(error TSP is not supported on platform ${PLAT})
else