summaryrefslogtreecommitdiff
path: root/services/spd/tlkd/tlkd_main.c
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2015-07-08 21:45:46 +0100
committerAchin Gupta <achin.gupta@arm.com>2015-08-13 23:48:07 +0100
commitfd650ff61b80a2155002def233ffddb439e3c071 (patch)
tree8f5007bc5301e1f8809a8fb2c74e7312a2605912 /services/spd/tlkd/tlkd_main.c
parenta6bd5ffbb0b8e4c767190a69ed07f3db0a8052d8 (diff)
PSCI: Migrate SPDs and TSP to the new platform and framework API
The new PSCI frameworks mandates that the platform APIs and the various frameworks in Trusted Firmware migrate away from MPIDR based core identification to one based on core index. Deprecated versions of the old APIs are still present to provide compatibility but their implementations are not optimal. This patch migrates the various SPDs exisiting within Trusted Firmware tree and TSP to the new APIs. Change-Id: Ifc37e7071c5769b5ded21d0b6a071c8c4cab7836
Diffstat (limited to 'services/spd/tlkd/tlkd_main.c')
-rw-r--r--services/spd/tlkd/tlkd_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/spd/tlkd/tlkd_main.c b/services/spd/tlkd/tlkd_main.c
index 3532bebe..58a60464 100644
--- a/services/spd/tlkd/tlkd_main.c
+++ b/services/spd/tlkd/tlkd_main.c
@@ -121,7 +121,6 @@ int32_t tlkd_setup(void)
******************************************************************************/
int32_t tlkd_init(void)
{
- uint64_t mpidr = read_mpidr();
entry_point_info_t *tlk_entry_point;
/*
@@ -131,7 +130,7 @@ int32_t tlkd_init(void)
tlk_entry_point = bl31_plat_get_next_image_ep_info(SECURE);
assert(tlk_entry_point);
- cm_init_context(mpidr, tlk_entry_point);
+ cm_init_my_context(tlk_entry_point);
/*
* Arrange for an entry into the test secure payload.