mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-04 10:08:51 +00:00
This patch fixes system suspend in OS-initiated mode by setting the value of `last_at_pwrlvl` in the `psci_power_state_t` object to `PLAT_MAX_PWR_LVL`, which otherwise would result in undefined behavior. This is conditionally compiled into the build depending on the value of the `PSCI_OS_INIT_MODE` build option. Change-Id: Ib9ff606b7eebd8a8224891a0d239a4e13311fe2a Signed-off-by: Wing Li <wingers@google.com>