1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * arch/arm/mach-mvebu/include/mach/coherency.h 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Coherency fabric (Aurora) support for Armada 370 and XP platforms. 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * Copyright (C) 2012 Marvell 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * This file is licensed under the terms of the GNU General Public 10*4882a593Smuzhiyun * License version 2. This program is licensed "as is" without any 11*4882a593Smuzhiyun * warranty of any kind, whether express or implied. 12*4882a593Smuzhiyun */ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun #ifndef __MACH_370_XP_COHERENCY_H 15*4882a593Smuzhiyun #define __MACH_370_XP_COHERENCY_H 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun extern void __iomem *coherency_base; /* for coherency_ll.S */ 18*4882a593Smuzhiyun extern unsigned long coherency_phys_base; 19*4882a593Smuzhiyun int set_cpu_coherent(void); 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun int coherency_init(void); 22*4882a593Smuzhiyun int coherency_available(void); 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #endif /* __MACH_370_XP_COHERENCY_H */ 25