path: root/bl32/tsp/tsp.mk
diff options
authorVikram Kanigiri <vikram.kanigiri@arm.com>2014-07-15 16:49:22 +0100
committerVikram Kanigiri <vikram.kanigiri@arm.com>2014-08-01 09:48:07 +0100
commitfaaa2e7644ec6101de0e7d4f35b9dd2999f110a7 (patch)
tree8570f7a45b30ac70b8f6cdd326d8bf71c1666033 /bl32/tsp/tsp.mk
parent50e27dadbcc4b442f1c5ceb343c6d55783afed54 (diff)
Support asynchronous method for BL3-2 initialization
This patch adds support for BL3-2 initialization by asynchronous method where BL3-1 transfers control to BL3-2 using world switch. After BL3-2 initialization, it transfers control to BL3-3 via SPD service handler. The SPD service handler initializes the CPU context to BL3-3 entrypoint depending on the return function indentifier from TSP initialization. Fixes ARM-software/TF-issues#184 Change-Id: I7b135c2ceeb356d3bb5b6a287932e96ac67c7a34
Diffstat (limited to 'bl32/tsp/tsp.mk')
1 files changed, 8 insertions, 0 deletions
diff --git a/bl32/tsp/tsp.mk b/bl32/tsp/tsp.mk
index b9084d549e..02cc13d321 100644
--- a/bl32/tsp/tsp.mk
+++ b/bl32/tsp/tsp.mk
@@ -39,6 +39,14 @@ BL32_SOURCES += bl32/tsp/tsp_main.c \
BL32_LINKERFILE := bl32/tsp/tsp.ld.S
+# This flag determines if the TSPD initializes BL3-2 in tspd_init() (synchronous
+# method) or configures BL3-1 to pass control to BL3-2 instead of BL3-3
+# (asynchronous method).
+$(eval $(call assert_boolean,TSP_INIT_ASYNC))
+$(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.