Merge pull request #454 from yatharth-arm/vk/deprecate-cci-400
Add CCI-400 specific driver to deprecated driver list
This commit is contained in:
commit
f879f002ab
|
@ -31,6 +31,14 @@
|
||||||
#ifndef __CCI_400_H__
|
#ifndef __CCI_400_H__
|
||||||
#define __CCI_400_H__
|
#define __CCI_400_H__
|
||||||
|
|
||||||
|
/**************************************************************
|
||||||
|
* THIS DRIVER IS DEPRECATED. Please use the driver in cci.h
|
||||||
|
**************************************************************/
|
||||||
|
#if ERROR_DEPRECATED
|
||||||
|
#error " The CCI-400 specific driver is deprecated."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Slave interface offsets from PERIPHBASE */
|
/* Slave interface offsets from PERIPHBASE */
|
||||||
#define SLAVE_IFACE4_OFFSET 0x5000
|
#define SLAVE_IFACE4_OFFSET 0x5000
|
||||||
#define SLAVE_IFACE3_OFFSET 0x4000
|
#define SLAVE_IFACE3_OFFSET 0x4000
|
||||||
|
@ -68,6 +76,7 @@
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
#include <common_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Function declarations */
|
/* Function declarations */
|
||||||
|
@ -83,10 +92,10 @@
|
||||||
*/
|
*/
|
||||||
void cci_init(uintptr_t cci_base,
|
void cci_init(uintptr_t cci_base,
|
||||||
int slave_iface3_cluster_ix,
|
int slave_iface3_cluster_ix,
|
||||||
int slave_iface4_cluster_ix);
|
int slave_iface4_cluster_ix) __warn_deprecated;
|
||||||
|
|
||||||
void cci_enable_cluster_coherency(unsigned long mpidr);
|
void cci_enable_cluster_coherency(unsigned long mpidr) __warn_deprecated;
|
||||||
void cci_disable_cluster_coherency(unsigned long mpidr);
|
void cci_disable_cluster_coherency(unsigned long mpidr) __warn_deprecated;
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CCI_400_H__ */
|
#endif /* __CCI_400_H__ */
|
||||||
|
|
Loading…
Reference in New Issue