diff options
author | Hanna Hawa <hannah@marvell.com> | 2017-08-25 15:31:44 +0300 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2017-08-28 10:10:40 +0300 |
commit | 2fe99bba4353756b4e74c93269b5e054bde31d04 (patch) | |
tree | b7a3f71055d96ec47a68ce7830e56dc38c65ab05 /plat/marvell/a3700/common/plat_pm.c | |
parent | f9619533cd7582b948f254b9f93d455c158606d7 (diff) |
plat: mvebu: add die parameter for psci_arch_init function
As part of AP810 preparation and driver changes, add die
parameter for psci_arch_init function.
For Armada-8k family and Armada-37xx family, no functional change,
they have single north bridge die (die #0), add die 0 for all
psci_arch_init functions.
Armada-8k-plus family can contain 4 north bridge die, so need
to call psci_arch_init with different die number.
No functional changes introduced by this patch.
Change-Id: I5e334ce5bb75103236c322b389a0bc5e216fbe2a
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/43399
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hua Jing <jinghua@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'plat/marvell/a3700/common/plat_pm.c')
-rw-r--r-- | plat/marvell/a3700/common/plat_pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/marvell/a3700/common/plat_pm.c b/plat/marvell/a3700/common/plat_pm.c index fc0c5ff2..41b7e3a6 100644 --- a/plat/marvell/a3700/common/plat_pm.c +++ b/plat/marvell/a3700/common/plat_pm.c @@ -205,7 +205,7 @@ struct wake_up_src_func_map { wake_up_src_func func; }; -void psci_arch_init(void) +void psci_arch_init(int die_index) { return; } @@ -655,7 +655,7 @@ void a3700_pwr_domain_suspend(const psci_power_state_t *target_state) void a3700_pwr_domain_on_finish(const psci_power_state_t *target_state) { /* arch specific configuration */ - psci_arch_init(); + psci_arch_init(0); /* Per-CPU interrupt initialization */ plat_marvell_gic_pcpu_init(); @@ -680,7 +680,7 @@ void a3700_pwr_domain_suspend_finish(const psci_power_state_t *target_state) struct dram_win_map dram_wins_map; /* arch specific configuration */ - psci_arch_init(); + psci_arch_init(0); /* Interrupt initialization */ plat_marvell_gic_init(); |