]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(gic): wrap cache enabled assert under plat_can_cmo
authorChannagoud kadabi <kadabi@google.com>
Wed, 30 Nov 2022 00:03:47 +0000 (16:03 -0800)
committerkadabi <kadabi@google.com>
Mon, 12 Dec 2022 18:33:40 +0000 (20:33 +0200)
commit78fbb0ec8372a638b2b2a0276776892141ff43f8
tree4b90c226f9718a6e007d7a7ba22fac9b66de4f75
parent825641d6150f05c1bcf6328ec726f46f2e9e37f9
fix(gic): wrap cache enabled assert under plat_can_cmo

with reference to feature 04c730 (feat(cpus): make cache ops conditional),
booting with caches in debug recovery means SCTLR_C_BIT will be 0.
Wrap the assert for the d-cache enabled check in CONDITIONAL_CMO and
plat_can_cmo calls to allow booting with d-cache disabled.

Signed-off-by: Channagoud kadabi <kadabi@google.com>
Change-Id: I80153df493d1ec9e5e354c7c2e6a14322d22c446
drivers/arm/gic/v3/gicv3_main.c
include/plat/common/platform.h