2012-08-02 16:16:29 +08:00
|
|
|
/*
|
|
|
|
* arch/arm/mach-mvebu/include/mach/coherency.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Coherency fabric (Aurora) support for Armada 370 and XP platforms.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Marvell
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MACH_370_XP_COHERENCY_H
|
|
|
|
#define __MACH_370_XP_COHERENCY_H
|
|
|
|
|
2016-06-08 03:03:49 +08:00
|
|
|
extern void __iomem *coherency_base; /* for coherency_ll.S */
|
2013-11-07 17:02:38 +08:00
|
|
|
extern unsigned long coherency_phys_base;
|
2014-04-14 23:10:07 +08:00
|
|
|
int set_cpu_coherent(void);
|
2013-11-07 17:02:38 +08:00
|
|
|
|
2012-08-02 16:16:29 +08:00
|
|
|
int coherency_init(void);
|
2014-04-14 21:47:00 +08:00
|
|
|
int coherency_available(void);
|
2012-08-02 16:16:29 +08:00
|
|
|
|
|
|
|
#endif /* __MACH_370_XP_COHERENCY_H */
|