diff options
Diffstat (limited to 'plat/fvp/plat_pm.c')
-rw-r--r-- | plat/fvp/plat_pm.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plat/fvp/plat_pm.c b/plat/fvp/plat_pm.c index 4359638e..da940c1f 100644 --- a/plat/fvp/plat_pm.c +++ b/plat/fvp/plat_pm.c @@ -78,7 +78,7 @@ int fvp_affinst_on(unsigned long mpidr, { int rc = PSCI_E_SUCCESS; unsigned long linear_id; - mailbox *fvp_mboxes; + mailbox_t *fvp_mboxes; unsigned int psysr; /* @@ -100,7 +100,7 @@ int fvp_affinst_on(unsigned long mpidr, } while (psysr & PSYSR_AFF_L0); linear_id = platform_get_core_pos(mpidr); - fvp_mboxes = (mailbox *) (TZDRAM_BASE + MBOX_OFF); + fvp_mboxes = (mailbox_t *) (TZDRAM_BASE + MBOX_OFF); fvp_mboxes[linear_id].value = sec_entrypoint; flush_dcache_range((unsigned long) &fvp_mboxes[linear_id], sizeof(unsigned long)); @@ -209,7 +209,7 @@ int fvp_affinst_suspend(unsigned long mpidr, int rc = PSCI_E_SUCCESS; unsigned int gicc_base, ectlr; unsigned long cpu_setup, cci_setup, linear_id; - mailbox *fvp_mboxes; + mailbox_t *fvp_mboxes; switch (afflvl) { case MPIDR_AFFLVL1: @@ -247,7 +247,7 @@ int fvp_affinst_suspend(unsigned long mpidr, /* Program the jump address for the target cpu */ linear_id = platform_get_core_pos(mpidr); - fvp_mboxes = (mailbox *) (TZDRAM_BASE + MBOX_OFF); + fvp_mboxes = (mailbox_t *) (TZDRAM_BASE + MBOX_OFF); fvp_mboxes[linear_id].value = sec_entrypoint; flush_dcache_range((unsigned long) &fvp_mboxes[linear_id], sizeof(unsigned long)); @@ -288,7 +288,7 @@ int fvp_affinst_on_finish(unsigned long mpidr, { int rc = PSCI_E_SUCCESS; unsigned long linear_id, cpu_setup, cci_setup; - mailbox *fvp_mboxes; + mailbox_t *fvp_mboxes; unsigned int gicd_base, gicc_base, reg_val, ectlr; switch (afflvl) { @@ -341,7 +341,7 @@ int fvp_affinst_on_finish(unsigned long mpidr, fvp_pwrc_clr_wen(mpidr); /* Zero the jump address in the mailbox for this cpu */ - fvp_mboxes = (mailbox *) (TZDRAM_BASE + MBOX_OFF); + fvp_mboxes = (mailbox_t *) (TZDRAM_BASE + MBOX_OFF); linear_id = platform_get_core_pos(mpidr); fvp_mboxes[linear_id].value = 0; flush_dcache_range((unsigned long) &fvp_mboxes[linear_id], @@ -394,7 +394,7 @@ int fvp_affinst_suspend_finish(unsigned long mpidr, /******************************************************************************* * Export the platform handlers to enable psci to invoke them ******************************************************************************/ -static plat_pm_ops fvp_plat_pm_ops = { +static plat_pm_ops_t fvp_plat_pm_ops = { fvp_affinst_standby, fvp_affinst_on, fvp_affinst_off, @@ -406,7 +406,7 @@ static plat_pm_ops fvp_plat_pm_ops = { /******************************************************************************* * Export the platform specific power ops & initialize the fvp power controller ******************************************************************************/ -int platform_setup_pm(plat_pm_ops **plat_ops) +int platform_setup_pm(plat_pm_ops_t **plat_ops) { *plat_ops = &fvp_plat_pm_ops; return 0; |