plat: marvell: ap807: update configuration space of each CP
By default all external CPs start with configuration address space set to
0xf200_0000. To overcome this issue, go in the loop and initialize the
CP one by one, using temporary window configuration which allows to access
each CP and update its configuration space according to decoding
windows scheme defined for each platform.

In case of cn9130 after this procedure bellow addresses will be used:
CP0 - f2000000
CP1 - f4000000
CP2 - f6000000

When the re-configuration is done there is need to restore previous
decoding window configuration(init_io_win).

Change-Id: I1a652bfbd0bf7106930a7a4e949094dc9078a981
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
1 parent 2da75ae commit c3c51b3283bf76552beb649c6cfc95110a1231d9
@Grzegorz Jaszczyk Grzegorz Jaszczyk authored on 13 Jan 2019
Marcin Wojtas committed on 6 Jun 2020
Showing 4 changed files
View
drivers/marvell/mochi/ap807_setup.c
View
drivers/marvell/mochi/apn806_setup.c
View
include/drivers/marvell/mochi/ap_setup.h
View
plat/marvell/armada/a8k/common/plat_bl31_setup.c