xref: /openbmc/linux/arch/arm/mach-mvebu/coherency.h (revision 77a87824)
1 /*
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 
17 extern void __iomem *coherency_base;	/* for coherency_ll.S */
18 extern unsigned long coherency_phys_base;
19 int set_cpu_coherent(void);
20 
21 int coherency_init(void);
22 int coherency_available(void);
23 
24 #endif	/* __MACH_370_XP_COHERENCY_H */
25