commit | 43987c5c4cb8ad510f5a486f92408eafe3883156 | [log] [tgz] |
---|---|---|
author | Saurabh Gorecha <sgorecha@codeaurora.org> | Mon May 24 17:35:34 2021 +0530 |
committer | Joanna Farley <joanna.farley@arm.com> | Wed Sep 22 10:05:45 2021 +0200 |
tree | 6f504370fcc2df6d9c608cff16c3623f681627d2 | |
parent | 9f26f0079d532cf1c99cbf03d50366df8124786d [diff] [blame] |
feat(plat/qti/sc7280): support for qti sc7280 plat new qti platform sc7280 support addition Signed-off-by: Saurabh Gorecha <sgorecha@codeaurora.org> Change-Id: I3dd99d8744a6c313f7dfbbee7ae2cbd6f21656c1
diff --git a/plat/qti/qtiseclib/src/qtiseclib_cb_interface.c b/plat/qti/qtiseclib/src/qtiseclib_cb_interface.c index bb552c6..c4cd259 100644 --- a/plat/qti/qtiseclib/src/qtiseclib_cb_interface.c +++ b/plat/qti/qtiseclib/src/qtiseclib_cb_interface.c
@@ -132,6 +132,10 @@ void *ctx; ctx = cm_get_context(NON_SECURE); + if (ctx) { + /* nothing to be done w/o ns context */ + return; + } qti_ns_ctx->spsr_el3 = read_ctx_reg(get_el3state_ctx(ctx), CTX_SPSR_EL3);