2012-08-02 15:16:29 +07: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 02:03:49 +07:00
|
|
|
extern void __iomem *coherency_base; /* for coherency_ll.S */
|
2013-11-07 16:02:38 +07:00
|
|
|
extern unsigned long coherency_phys_base;
|
2014-04-14 22:10:07 +07:00
|
|
|
int set_cpu_coherent(void);
|
2013-11-07 16:02:38 +07:00
|
|
|
|
2012-08-02 15:16:29 +07:00
|
|
|
int coherency_init(void);
|
2014-04-14 20:47:00 +07:00
|
|
|
int coherency_available(void);
|
2012-08-02 15:16:29 +07:00
|
|
|
|
|
|
|
#endif /* __MACH_370_XP_COHERENCY_H */
|