Commit 187ae315 authored by Chandni Cherukuri's avatar Chandni Cherukuri
Browse files

plat/arm/sgi: override 'plat_psci_ops_t' for SGI-Clark.Helios platform



For SGI-Clark.Helios platform, at present, only the CPU power ON/OFF
ops are supported. So override the PSCI ops to allow callbacks only
for CPU power ON/OFF operations.

Change-Id: Idc0a3deb78cb850310cbe849d77604fa9881579c
Signed-off-by: default avatarChandni Cherukuri <chandni.cherukuri@arm.com>
parent 982261f7
...@@ -62,5 +62,16 @@ void bl31_platform_setup(void) ...@@ -62,5 +62,16 @@ void bl31_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 SGI-Clark.Helios platform only CPU ON/OFF is supported */
if ((sgi_plat_info.platform_id == SGI_CLARK_SID_VER_PART_NUM) &&
(sgi_plat_info.config_id == SGI_CLARK_HELIOS_CONFIG_ID)) {
ops->cpu_standby = NULL;
ops->system_off = NULL;
ops->system_reset = NULL;
ops->get_sys_suspend_power_state = NULL;
ops->pwr_domain_suspend = NULL;
ops->pwr_domain_suspend_finish = NULL;
}
return css_scmi_override_pm_ops(ops); return css_scmi_override_pm_ops(ops);
} }
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