commit | 46ee50e0b34e19d383a28bc3b3dadbfb4c07b270 | [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 | 95ef4a0f6b3e0d3d2ba0a064bd6a49a0c4c89180 [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);