mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-20 11:34:20 +00:00
Fix assertion in GIC ITS helper
This patch fixes an assertion check in the GICv3 ITS helper function. Change-Id: I75f50d7bf6d87c12c6e24a07c9a9889e5facf4a5 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
This commit is contained in:
parent
8e838d66f0
commit
c1bbeb5fab
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ void gicv3_its_restore(uintptr_t gits_base, const gicv3_its_ctx_t * const its_ct
|
||||||
|
|
||||||
/* Assert that the GITS is disabled and quiescent */
|
/* Assert that the GITS is disabled and quiescent */
|
||||||
assert((gits_read_ctlr(gits_base) & GITS_CTLR_ENABLED_BIT) == 0);
|
assert((gits_read_ctlr(gits_base) & GITS_CTLR_ENABLED_BIT) == 0);
|
||||||
assert((gits_read_ctlr(gits_base) & GITS_CTLR_QUIESCENT_BIT) == 1);
|
assert((gits_read_ctlr(gits_base) & GITS_CTLR_QUIESCENT_BIT) != 0);
|
||||||
|
|
||||||
gits_write_cbaser(gits_base, its_ctx->gits_cbaser);
|
gits_write_cbaser(gits_base, its_ctx->gits_cbaser);
|
||||||
gits_write_cwriter(gits_base, its_ctx->gits_cwriter);
|
gits_write_cwriter(gits_base, its_ctx->gits_cwriter);
|
||||||
|
|
Loading…
Add table
Reference in a new issue