summaryrefslogtreecommitdiff
path: root/services/spd/opteed
diff options
context:
space:
mode:
Diffstat (limited to 'services/spd/opteed')
-rw-r--r--services/spd/opteed/opteed_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/spd/opteed/opteed_common.c b/services/spd/opteed/opteed_common.c
index 2693e7d1..e5e2be77 100644
--- a/services/spd/opteed/opteed_common.c
+++ b/services/spd/opteed/opteed_common.c
@@ -78,7 +78,7 @@ uint64_t opteed_synchronous_sp_entry(optee_context_t *optee_ctx)
cm_set_next_eret_context(SECURE);
rc = opteed_enter_sp(&optee_ctx->c_rt_ctx);
-#if DEBUG
+#if ENABLE_ASSERTIONS
optee_ctx->c_rt_ctx = 0;
#endif