diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-01-07 18:26:17 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-01-16 19:08:52 +0200 |
commit | 5e44a4083870afa9a955324c2fe287c62ed059a6 (patch) | |
tree | 3800763635e7c6a3f9c6b173c9dcfbd60cdee811 /include/drivers/marvell | |
parent | 80dd6eb15083bf4672011cd78e828848d2c19fed (diff) |
drivers: ccu: Add DRAM map configuiration API
Add new API for allowing DRAM separate window configuration and
update.
The dedicated usage is setting up the DRAM window target discovered
by the DRAM driver at BLE stage followed by later update of the DRAM
address range using the discovered target at BL31 confiuration stage.
New APIs:
ccu_dram_win_config (shared)
ccu_dram_target_get (local)
ccu_dram_target_set (shared)
Change-Id: Iea8bc7887eeb1a7dded59c97f2d40461d8f50c82
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/48617
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Diffstat (limited to 'include/drivers/marvell')
-rw-r--r-- | include/drivers/marvell/ccu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drivers/marvell/ccu.h b/include/drivers/marvell/ccu.h index 687f3dd0..250f9e7a 100644 --- a/include/drivers/marvell/ccu.h +++ b/include/drivers/marvell/ccu.h @@ -42,5 +42,7 @@ void ccu_win_check(struct addr_map_win *win); void ccu_enable_win(int ap_index, struct addr_map_win *win, uint32_t win_id); void ccu_temp_win_insert(int ap_index, struct addr_map_win *win, int size); void ccu_temp_win_remove(int ap_index, struct addr_map_win *win, int size); +void ccu_dram_win_config(int ap_index, struct addr_map_win *win); +void ccu_dram_target_set(int ap_index, uint32_t target); #endif /* _CCU_H_ */ |