meson: gxl: Fix reset and power off
authorRemi Pommarel <[email protected]>
Thu, 4 Apr 2019 21:12:56 +0000 (23:12 +0200)
committerRemi Pommarel <[email protected]>
Fri, 2 Aug 2019 11:54:16 +0000 (13:54 +0200)
commit43d4a2910dd7b1ed46719b31a03a3d860d4875b1
treefd5c908bc31a191e7f0eb39e0658fdcbb10ea3af
parent3ee48f40f50bd3cea6fbb824bbc5ce0a43802d78
meson: gxl: Fix reset and power off

Before CPU enters standby state (wfi), the AP needs to signal the SCP
through PSCI mailbox.

Also at boot time the AP has to wait for the SCP to be ready before
sending the first scpi commands or it can crash.

Change-Id: Iacc99f5bec745ad71922c5ea07ca5b87088133b6
Signed-off-by: Remi Pommarel <[email protected]>
plat/meson/gxl/gxl_bl31_setup.c
plat/meson/gxl/gxl_def.h
plat/meson/gxl/gxl_pm.c