diff options
author | Hanna Hawa <hannah@marvell.com> | 2017-11-02 17:56:30 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2017-11-06 18:33:39 +0200 |
commit | d09e5ee456c828b0f6b53357129f2ef314957266 (patch) | |
tree | f0839ae5e2c03a9e09f3a15017d279dcceaa4ee7 /include/plat | |
parent | 7e1870d62df84ae6406daca036f09a2e7c092869 (diff) |
cp110: calculate base address in cp110 init function
Calculate base address in CP110 init function to avoid
passing cp_index & ap_index to different functions.
Change-Id: I457d9cbd649bdb48e9df182d114680c56ea9640e
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/45842
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/plat')
-rw-r--r-- | include/plat/marvell/a8k-p/common/plat_config.h | 3 | ||||
-rw-r--r-- | include/plat/marvell/a8k/common/plat_config.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/plat/marvell/a8k-p/common/plat_config.h b/include/plat/marvell/a8k-p/common/plat_config.h index 5524da69..2337cc6b 100644 --- a/include/plat/marvell/a8k-p/common/plat_config.h +++ b/include/plat/marvell/a8k-p/common/plat_config.h @@ -69,8 +69,7 @@ uint32_t marvell_get_ccu_gcr_target(int); */ int marvell_get_amb_memory_map(struct amb_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_iob_memory_map(struct iob_win **win, uint32_t *size, uintptr_t base); int marvell_get_ccu_memory_map(int ap, struct ccu_win **win, uint32_t *size); #endif /* __BOARD_CONFIG_H__ */ diff --git a/include/plat/marvell/a8k/common/plat_config.h b/include/plat/marvell/a8k/common/plat_config.h index f6f6ada6..750609c2 100644 --- a/include/plat/marvell/a8k/common/plat_config.h +++ b/include/plat/marvell/a8k/common/plat_config.h @@ -140,8 +140,7 @@ uint32_t marvell_get_ccu_gcr_target(int); */ int marvell_get_amb_memory_map(struct amb_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_iob_memory_map(struct iob_win **win, uint32_t *size, uintptr_t base); int marvell_get_ccu_memory_map(int, struct ccu_win **win, uint32_t *size); #endif /* __BOARD_CONFIG_H__ */ |