blob: 6067f14263f79343205503cef31033cde79fe1e2 [file] [log] [blame]
Gregory CLEMENT009f1312012-08-02 11:16:29 +03001/*
2 * arch/arm/mach-mvebu/include/mach/coherency.h
3 *
4 *
5 * Coherency fabric (Aurora) support for Armada 370 and XP platforms.
6 *
7 * Copyright (C) 2012 Marvell
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14#ifndef __MACH_370_XP_COHERENCY_H
15#define __MACH_370_XP_COHERENCY_H
16
Ben Dookscb2bb5d2016-06-07 20:03:49 +010017extern void __iomem *coherency_base; /* for coherency_ll.S */
Jisheng Zhangb12634e2013-11-07 17:02:38 +080018extern unsigned long coherency_phys_base;
Gregory CLEMENT952f4ca2014-04-14 17:10:07 +020019int set_cpu_coherent(void);
Jisheng Zhangb12634e2013-11-07 17:02:38 +080020
Gregory CLEMENT009f1312012-08-02 11:16:29 +030021int coherency_init(void);
Thomas Petazzoni501f9282014-04-14 15:47:00 +020022int coherency_available(void);
Gregory CLEMENT009f1312012-08-02 11:16:29 +030023
24#endif /* __MACH_370_XP_COHERENCY_H */