ARM: renesas: falcon: Initialize ARM generic timer and GICv3 if EL3
authorHai Pham <hai.pham.ud@renesas.com>
Mon, 27 Feb 2023 23:02:18 +0000 (00:02 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Mar 2023 10:59:45 +0000 (11:59 +0100)
commit72eb1f5e19320ea4919f62341ce077a521d9c278
tree28582ee7db9ae50947db099876aa42124998ba1a
parent143bd4e31536e4aee2902925224eef27fdee0167
ARM: renesas: falcon: Initialize ARM generic timer and GICv3 if EL3

U-Boot executes at EL3 is required to initalize those settings.
In other cases, they will be done by prior-stage firmware instead.

This fixes crash when U-Boot is at non-secure exception level.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
board/renesas/falcon/falcon.c