@ -33,8 +33,8 @@ static int versal_pwr_domain_on(u_register_t mpidr)
proc = pm_get_proc ( ( unsigned int ) cpu_id ) ;
/* Send request to PMC to wake up selected ACPU core */
pm_req_wakeup ( proc - > node_id , ( versal_sec_entry & 0xFFFFFFFFU ) | 0x1U ,
versal_sec_entry > > 32 , 0 , SECURE_FLAG ) ;
( void ) pm_req_wakeup ( proc - > node_id , ( versal_sec_entry & 0xFFFFFFFFU ) | 0x1U ,
versal_sec_entry > > 32 , 0 , SECURE_FLAG ) ;
/* Clear power down request */
pm_client_wakeup ( proc ) ;
@ -69,8 +69,8 @@ static void versal_pwr_domain_suspend(const psci_power_state_t *target_state)
PM_STATE_SUSPEND_TO_RAM : PM_STATE_CPU_IDLE ;
/* Send request to PMC to suspend this core */
pm_self_suspend ( proc - > node_id , MAX_LATENCY , state , versal_sec_entry ,
SECURE_FLAG ) ;
( void ) pm_self_suspend ( proc - > node_id , MAX_LATENCY , state , versal_sec_entry ,
SECURE_FLAG ) ;
/* APU is to be turned off */
if ( target_state - > pwr_domain_state [ 1 ] > PLAT_MAX_RET_STATE ) {
@ -126,8 +126,8 @@ void versal_pwr_domain_on_finish(const psci_power_state_t *target_state)
static void __dead2 versal_system_off ( void )
{
/* Send the power down request to the PMC */
pm_system_shutdown ( XPM_SHUTDOWN_TYPE_SHUTDOWN ,
pm_get_shutdown_scope ( ) , SECURE_FLAG ) ;
( void ) pm_system_shutdown ( XPM_SHUTDOWN_TYPE_SHUTDOWN ,
pm_get_shutdown_scope ( ) , SECURE_FLAG ) ;
while ( 1 ) {
wfi ( ) ;
@ -141,8 +141,8 @@ static void __dead2 versal_system_off(void)
static void __dead2 versal_system_reset ( void )
{
/* Send the system reset request to the PMC */
pm_system_shutdown ( XPM_SHUTDOWN_TYPE_RESET ,
pm_get_shutdown_scope ( ) , SECURE_FLAG ) ;
( void ) pm_system_shutdown ( XPM_SHUTDOWN_TYPE_RESET ,
pm_get_shutdown_scope ( ) , SECURE_FLAG ) ;
while ( 1 ) {
wfi ( ) ;
@ -175,8 +175,8 @@ static void versal_pwr_domain_off(const psci_power_state_t *target_state)
* invoking CPU_on function , during which resume address will
* be set .
*/
pm_self_suspend ( proc - > node_id , MAX_LATENCY , PM_STATE_CPU_IDLE , 0 ,
SECURE_FLAG ) ;
( void ) pm_self_suspend ( proc - > node_id , MAX_LATENCY , PM_STATE_CPU_IDLE , 0 ,
SECURE_FLAG ) ;
}
/**