18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * arch/arm/mach-mvebu/include/mach/coherency.h 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Coherency fabric (Aurora) support for Armada 370 and XP platforms. 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2012 Marvell 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * This file is licensed under the terms of the GNU General Public 108c2ecf20Sopenharmony_ci * License version 2. This program is licensed "as is" without any 118c2ecf20Sopenharmony_ci * warranty of any kind, whether express or implied. 128c2ecf20Sopenharmony_ci */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#ifndef __MACH_370_XP_COHERENCY_H 158c2ecf20Sopenharmony_ci#define __MACH_370_XP_COHERENCY_H 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciextern void __iomem *coherency_base; /* for coherency_ll.S */ 188c2ecf20Sopenharmony_ciextern unsigned long coherency_phys_base; 198c2ecf20Sopenharmony_ciint set_cpu_coherent(void); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciint coherency_init(void); 228c2ecf20Sopenharmony_ciint coherency_available(void); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#endif /* __MACH_370_XP_COHERENCY_H */ 25