spd: trusty: Fix TRUSTY_SPD_WITH_GENERIC_SERVICES
The recent change to allow clients to retrieve service UUID expanded the
range registerted for trusty_smc_handler so that it overlaps with the
range used by trusty_generic_platform_smc. Register a separate range to
cover the get uuid calls instead.
Change-Id: Ib2d3f172e1aa6281aeef7be40d10894a6ee887de
diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c
index ce6f567..fef1294 100644
--- a/services/spd/trusty/trusty.c
+++ b/services/spd/trusty/trusty.c
@@ -525,12 +525,22 @@
trusty_fast,
OEN_TOS_START,
- OEN_TOS_END,
+ SMC_ENTITY_SECURE_MONITOR,
SMC_TYPE_FAST,
trusty_setup,
trusty_smc_handler
);
+DECLARE_RT_SVC(
+ trusty_fast_uuid,
+
+ OEN_TOS_END,
+ OEN_TOS_END,
+ SMC_TYPE_FAST,
+ NULL,
+ trusty_smc_handler
+);
+
/* Define a SPD runtime service descriptor for yielding SMC calls */
DECLARE_RT_SVC(
trusty_std,