arm: gic_v2: Skip gic_init_secure when cpu is not in el3
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Wed, 11 May 2022 08:39:07 +0000 (10:39 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2022 13:33:10 +0000 (09:33 -0400)
commit2d25f63cc02e42f3e4a798bd5385e9cd73e51fd4
tree3c79ab6cb733d4833ef431b3e9067a0085724475
parent012afa83ae8b47ce4019d5d9c85ed308c61645fc
arm: gic_v2: Skip gic_init_secure when cpu is not in el3

This would prevent configuring non-secure regs in case gic security
extensions are not emulated in Qemu.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/lib/gic_64.S