Commit 92264f86 authored by Pranav Madhu's avatar Pranav Madhu
Browse files

plat/arm/sgi: allow all PSCI callbacks on RD-V1



Some of the PSCI platform callbacks were restricted on RD-V1 platform
because the idle was not functional. Now that it is functional, remove
all the restrictions on the use PSCI platform callbacks.

Change-Id: I4cb97cb54de7ee166c30f28df8fea653b6b425c7
Signed-off-by: default avatarPranav Madhu <pranav.madhu@arm.com>
parent 5bc6f284
...@@ -108,12 +108,11 @@ void sgi_bl31_common_platform_setup(void) ...@@ -108,12 +108,11 @@ void sgi_bl31_common_platform_setup(void)
const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops) const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops)
{ {
/* /*
* For RD-E1-Edge and RD-V1 platforms, only CPU power ON/OFF * For RD-E1-Edge, only CPU power ON/OFF, PSCI platform callbacks are
* PSCI platform callbacks are supported. * supported.
*/ */
if (((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) && if (((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) &&
(sgi_plat_info.config_id == RD_E1_EDGE_CONFIG_ID)) || (sgi_plat_info.config_id == RD_E1_EDGE_CONFIG_ID))) {
(sgi_plat_info.platform_id == RD_V1_SID_VER_PART_NUM)) {
ops->cpu_standby = NULL; ops->cpu_standby = NULL;
ops->system_off = NULL; ops->system_off = NULL;
ops->system_reset = NULL; ops->system_reset = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment