diff options
author | Igal Liberman <igall@marvell.com> | 2018-01-24 12:02:32 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-01-24 18:53:30 +0200 |
commit | 60303b9b66066489614e9cd1954304f30d35830f (patch) | |
tree | e9a85e3916f3e9e338d5c9290c09a9f47349cab2 /drivers | |
parent | f27061878aa518c9ca8c25837fd1cc05134dcffb (diff) |
iob: mvebu: improve information prints
Currently, when we re-configure CP110 base address we get
confusing prints:
Change the base address of CP-0 to 8100000000
Change the base address of CP-1 to 8800000000
Change the base address of CP-0 to 9e00000000
Change the base address of CP-1 to a500000000
This patch updates the prints to the following:
Change the base address of AP0-CP0 to 8100000000
Change the base address of AP0-CP1 to 8800000000
Change the base address of AP1-CP0 to 9e00000000
Change the base address of AP1-CP1 to a500000000
No functional change.
Change-Id: Icbdd73c30f35e811205a9ad0bf3e9806f92498bd
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/49469
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/marvell/iob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/marvell/iob.c b/drivers/marvell/iob.c index 2c32f841..a2137dd4 100644 --- a/drivers/marvell/iob.c +++ b/drivers/marvell/iob.c @@ -139,13 +139,13 @@ static void dump_iob(void) } #endif -void iob_cfg_space_update(int cp_idx, uintptr_t base, uintptr_t new_base) +void iob_cfg_space_update(int ap_idx, int cp_idx, uintptr_t base, uintptr_t new_base) { debug_enter(); iob_base = base + MVEBU_IOB_OFFSET; - NOTICE("Change the base address of CP-%d to %lx\n", cp_idx, new_base); + NOTICE("Change the base address of AP%d-CP%d to %lx\n", ap_idx, cp_idx, new_base); mmio_write_32(IOB_WIN_ALR_OFFSET(0), new_base >> ADDRESS_SHIFT); iob_base = new_base + MVEBU_IOB_OFFSET; |