xref: /rk3399_ARM-atf/include/drivers/marvell/io_win.h (revision 61f72a34250d063da67f4fc2b0eb8c3fda3376be)
1 /*
2  * Copyright (C) 2018 Marvell International Ltd.
3  *
4  * SPDX-License-Identifier:     BSD-3-Clause
5  * https://spdx.org/licenses
6  */
7 
8 /* IO Window unit device driver for Marvell AP807, AP807 and AP810 SoCs */
9 
10 #ifndef _IO_WIN_H_
11 #define _IO_WIN_H_
12 
13 #include <addr_map.h>
14 
15 int init_io_win(int ap_index);
16 void iow_temp_win_insert(int ap_index, struct addr_map_win *win, int size);
17 void iow_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
18 void iow_save_win_all(int ap_id);
19 void iow_restore_win_all(int ap_id);
20 
21 #endif /* _IO_WIN_H_ */
22