summaryrefslogtreecommitdiff
path: root/include/plat
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-02-05 12:42:45 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-02-06 16:00:58 +0200
commit2dccd58216e55cb4041913c121408c5353e9b6c8 (patch)
tree37d74e892b96cdbf6b5a35f90e1d392d6dde5a62 /include/plat
parentee098633be674924ff88fb0b72739ab06994fc7b (diff)
mvebu: amb: Support CP base address in AMB porting API
Add support for CP base address in marvell_get_amb_memory_map() API for allowing AMB map definitions for several CPs Change-Id: I8d9a0a11e109aaa8dcba33f32d9e43af92b13aee Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/50013 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'include/plat')
-rw-r--r--include/plat/marvell/a8k-p/common/plat_config.h2
-rw-r--r--include/plat/marvell/a8k/common/plat_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/marvell/a8k-p/common/plat_config.h b/include/plat/marvell/a8k-p/common/plat_config.h
index a5d2d000..a6551ad3 100644
--- a/include/plat/marvell/a8k-p/common/plat_config.h
+++ b/include/plat/marvell/a8k-p/common/plat_config.h
@@ -23,7 +23,7 @@ uint32_t marvell_get_ccu_gcr_target(int);
* The functions below are defined as Weak and may be overridden
* in specific Marvell standard platform
*/
-int marvell_get_amb_memory_map(struct addr_map_win **win, uint32_t *size);
+int marvell_get_amb_memory_map(struct addr_map_win **win, uint32_t *size, uintptr_t base);
int marvell_get_io_win_memory_map(int, struct addr_map_win **win, uint32_t *size);
int marvell_get_iob_memory_map(struct addr_map_win **win, uint32_t *size, uintptr_t base);
int marvell_get_ccu_memory_map(int, struct addr_map_win **win, uint32_t *size);
diff --git a/include/plat/marvell/a8k/common/plat_config.h b/include/plat/marvell/a8k/common/plat_config.h
index 520d5bc9..f4f09a5c 100644
--- a/include/plat/marvell/a8k/common/plat_config.h
+++ b/include/plat/marvell/a8k/common/plat_config.h
@@ -138,7 +138,7 @@ uint32_t marvell_get_ccu_gcr_target(int);
* The functions below are defined as Weak and may be overridden
* in specific Marvell standard platform
*/
-int marvell_get_amb_memory_map(struct addr_map_win **win, uint32_t *size);
+int marvell_get_amb_memory_map(struct addr_map_win **win, uint32_t *size, uintptr_t base);
int marvell_get_io_win_memory_map(int, struct addr_map_win **win, uint32_t *size);
int marvell_get_iob_memory_map(struct addr_map_win **win, uint32_t *size, uintptr_t base);
int marvell_get_ccu_memory_map(int, struct addr_map_win **win, uint32_t *size);