diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-02-05 12:42:45 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-02-06 16:00:58 +0200 |
commit | 2dccd58216e55cb4041913c121408c5353e9b6c8 (patch) | |
tree | 37d74e892b96cdbf6b5a35f90e1d392d6dde5a62 /drivers | |
parent | ee098633be674924ff88fb0b72739ab06994fc7b (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 'drivers')
-rw-r--r-- | drivers/marvell/amb_adec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/marvell/amb_adec.c b/drivers/marvell/amb_adec.c index bc8dd824..51fec048 100644 --- a/drivers/marvell/amb_adec.c +++ b/drivers/marvell/amb_adec.c @@ -147,7 +147,7 @@ int init_amb_adec(uintptr_t base) amb_base = base + MVEBU_AMB_ADEC_OFFSET; /* Get the array of the windows and its size */ - marvell_get_amb_memory_map(&win, &win_count); + marvell_get_amb_memory_map(&win, &win_count, base); if (win_count <= 0) INFO("no windows configurations found\n"); |