summaryrefslogtreecommitdiff
path: root/include/drivers/marvell/gwin.h
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-02-26 15:51:11 +0200
committerKonstantin Porotchkin <kostap@marvell.com>2018-07-18 18:48:30 +0300
commitc0474d5843321392172356f79efb6ec6140c4e48 (patch)
tree503e19e85375bc048e8f2a291751d122a72b2bfb /include/drivers/marvell/gwin.h
parent752faf8fce02d9d254a83e686bc8e71d69a7af95 (diff)
marvell: drivers: Add address decoding units drivers
Add address decoding unit drivers for Marvell SoCs. Address decoding flow and address translation units chart are located at docs/marvell/misc/mvebu-a8k-addr-map.txt Change-Id: Id6ce311fa1f4f112df3adfac5d20449f495f71ed Signed-off-by: Hanna Hawa <hannah@marvell.com> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/drivers/marvell/gwin.h')
-rw-r--r--include/drivers/marvell/gwin.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/drivers/marvell/gwin.h b/include/drivers/marvell/gwin.h
new file mode 100644
index 00000000..5dc9f244
--- /dev/null
+++ b/include/drivers/marvell/gwin.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2018 Marvell International Ltd.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * https://spdx.org/licenses
+ */
+
+/* GWIN unit device driver for Marvell AP810 SoC */
+
+#ifndef _GWIN_H_
+#define _GWIN_H_
+
+#include <addr_map.h>
+
+int init_gwin(int ap_index);
+void gwin_temp_win_insert(int ap_index, struct addr_map_win *win, int size);
+void gwin_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
+
+#endif /* _GWIN_H_ */