aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2019-01-13 17:33:45 +0200
committerMarcin Wojtas <mw@semihalf.com>2020-06-07 00:06:03 +0200
commitc3c51b3283bf76552beb649c6cfc95110a1231d9 (patch)
treeb81457aacd008a30e5ae426d28316f3c72ddf6d9 /include/drivers
parent2da75ae1174205b43f80b64bb7deae42ea6b70a1 (diff)
downloadtrusted-firmware-a-c3c51b3283bf76552beb649c6cfc95110a1231d9.tar.gz
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>
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/marvell/mochi/ap_setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drivers/marvell/mochi/ap_setup.h b/include/drivers/marvell/mochi/ap_setup.h
index eff4473252..5b0e75f46b 100644
--- a/include/drivers/marvell/mochi/ap_setup.h
+++ b/include/drivers/marvell/mochi/ap_setup.h
@@ -13,5 +13,6 @@
void ap_init(void);
void ap_ble_init(void);
int ap_get_count(void);
+void update_cp110_default_win(int cp_id);
#endif /* AP_SETUP_H */