aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2019-03-31 17:20:19 +0300
committerMarcin Wojtas <mw@semihalf.com>2020-06-19 17:59:44 +0200
commit957a5add638b1269210eac3a655e6b15e6fdb92e (patch)
treeebc12bf0f839c275da0a51f6458c31bab308689e /include/drivers
parent772aa5ba75f38930e8e9c3f370a4e2aa9f5f417c (diff)
downloadtrusted-firmware-a-957a5add638b1269210eac3a655e6b15e6fdb92e.tar.gz
drivers: marvell: add CCU driver API for window state checking
Add ccu_is_win_enabled() API for checking the CCU window state using AP and window indexes. Change-Id: Ib955a2cac28b2729b0a763f3bbbea28b476a2fe4 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/marvell/ccu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drivers/marvell/ccu.h b/include/drivers/marvell/ccu.h
index b0d1ec9840..413ffb972f 100644
--- a/include/drivers/marvell/ccu.h
+++ b/include/drivers/marvell/ccu.h
@@ -46,6 +46,7 @@ void ccu_dram_win_config(int ap_index, struct addr_map_win *win);
void ccu_dram_target_set(int ap_index, uint32_t target);
void ccu_save_win_all(int ap_id);
void ccu_restore_win_all(int ap_id);
+int ccu_is_win_enabled(int ap_index, uint32_t win_id);
#endif
#endif /* CCU_H */