blob: 7438d6b4b84dbccce95d6b84bbd4d1fb8d427505 [file] [log] [blame]
Konstantin Porotchkin62a76462018-02-26 15:51:11 +02001/*
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000010#ifndef IO_WIN_H
11#define IO_WIN_H
Konstantin Porotchkin62a76462018-02-26 15:51:11 +020012
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000013#include <drivers/marvell/addr_map.h>
Konstantin Porotchkin62a76462018-02-26 15:51:11 +020014
15int init_io_win(int ap_index);
16void iow_temp_win_insert(int ap_index, struct addr_map_win *win, int size);
17void iow_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
18void iow_save_win_all(int ap_id);
19void iow_restore_win_all(int ap_id);
20
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000021#endif /* IO_WIN_H */