summaryrefslogtreecommitdiff
path: root/include/plat
diff options
context:
space:
mode:
authorHanna Hawa <hannah@marvell.com>2017-08-25 12:14:07 +0300
committerKostya Porotchkin <kostap@marvell.com>2017-10-03 15:29:50 +0300
commit985cee810b770e1418798e660142f0f99dcf60f4 (patch)
tree49562903dd8c634313ef0b5712ba3e076c5249cb /include/plat
parent49f8d80fb5313ce6ac65d3963f8cb156b13c4707 (diff)
mvebu: io-win: add parameter for ccu function to set AP number
Part of AP810 preparation and driver changes, change IO_WIN driver to get the number of AP it should initialize, to get the AP base address and window map. No functional changes introduced by this patch. Change-Id: I20522ebcdd9bcea4691a4d65cb839bcb5d46f4e6 Signed-off-by: Hanna Hawa <hannah@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/43397 Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/44759 Tested-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/plat')
-rw-r--r--include/plat/marvell/a8k/common/plat_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/marvell/a8k/common/plat_config.h b/include/plat/marvell/a8k/common/plat_config.h
index eed05353..5dd0f8d4 100644
--- a/include/plat/marvell/a8k/common/plat_config.h
+++ b/include/plat/marvell/a8k/common/plat_config.h
@@ -131,7 +131,7 @@ struct power_off_method {
int marvell_gpio_config(void);
uintptr_t marvell_get_amb_reg_offs(int cp_index);
-uintptr_t marvell_get_io_win_reg_offs(void);
+uintptr_t marvell_get_io_win_reg_offs(int);
uintptr_t marvell_get_iob_reg_offs(int cp_index);
int marvell_get_iob_max_win(void);
uintptr_t marvell_get_ccu_reg_offs(int);
@@ -143,7 +143,7 @@ int marvell_get_ccu_max_win(void);
* in specific Marvell standard platform
*/
int marvell_get_amb_memory_map(struct amb_win **win, uint32_t *size);
-int marvell_get_io_win_memory_map(struct io_win **win, uint32_t *size);
+int marvell_get_io_win_memory_map(int, struct io_win **win, uint32_t *size);
int marvell_get_iob_memory_map(struct iob_win **win,
uint32_t *size, int cp_index);
int marvell_get_ccu_memory_map(int, struct ccu_win **win, uint32_t *size);