Commit 22b09c17 authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

Remove unused argument in psci_cpu_on_start()

The "end power level" value passed as the 3rd argument to the
psci_cpu_on_start() function is not used so this patch removes it.

Change-Id: Icaa68b8c4ecd94507287970455fbff354faaa41e
parent 1ad9f93e
...@@ -47,7 +47,6 @@ int psci_cpu_on(u_register_t target_cpu, ...@@ -47,7 +47,6 @@ int psci_cpu_on(u_register_t target_cpu,
{ {
int rc; int rc;
unsigned int end_pwrlvl;
entry_point_info_t ep; entry_point_info_t ep;
/* Determine if the cpu exists of not */ /* Determine if the cpu exists of not */
...@@ -64,11 +63,7 @@ int psci_cpu_on(u_register_t target_cpu, ...@@ -64,11 +63,7 @@ int psci_cpu_on(u_register_t target_cpu,
* To turn this cpu on, specify which power * To turn this cpu on, specify which power
* levels need to be turned on * levels need to be turned on
*/ */
end_pwrlvl = PLAT_MAX_PWR_LVL; return psci_cpu_on_start(target_cpu, &ep);
rc = psci_cpu_on_start(target_cpu,
&ep,
end_pwrlvl);
return rc;
} }
unsigned int psci_version(void) unsigned int psci_version(void)
......
...@@ -67,8 +67,7 @@ static int cpu_on_validate_state(aff_info_state_t aff_state) ...@@ -67,8 +67,7 @@ static int cpu_on_validate_state(aff_info_state_t aff_state)
* platform handler as it can return error. * platform handler as it can return error.
******************************************************************************/ ******************************************************************************/
int psci_cpu_on_start(u_register_t target_cpu, int psci_cpu_on_start(u_register_t target_cpu,
entry_point_info_t *ep, entry_point_info_t *ep)
unsigned int end_pwrlvl)
{ {
int rc; int rc;
unsigned int target_idx = plat_core_pos_by_mpidr(target_cpu); unsigned int target_idx = plat_core_pos_by_mpidr(target_cpu);
......
...@@ -203,8 +203,7 @@ int psci_spd_migrate_info(u_register_t *mpidr); ...@@ -203,8 +203,7 @@ int psci_spd_migrate_info(u_register_t *mpidr);
/* Private exported functions from psci_on.c */ /* Private exported functions from psci_on.c */
int psci_cpu_on_start(unsigned long target_cpu, int psci_cpu_on_start(unsigned long target_cpu,
entry_point_info_t *ep, entry_point_info_t *ep);
unsigned int end_pwrlvl);
void psci_cpu_on_finish(unsigned int cpu_idx, void psci_cpu_on_finish(unsigned int cpu_idx,
psci_power_state_t *state_info); psci_power_state_t *state_info);
......
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