This patch adds cache and tlb sync codes for abiv1 & abiv2. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
14 lines
246 B
C
14 lines
246 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __ASM_CSKY_CACHECTL_H
|
|
#define __ASM_CSKY_CACHECTL_H
|
|
|
|
/*
|
|
* See "man cacheflush"
|
|
*/
|
|
#define ICACHE (1<<0)
|
|
#define DCACHE (1<<1)
|
|
#define BCACHE (ICACHE|DCACHE)
|
|
|
|
#endif /* __ASM_CSKY_CACHECTL_H */
|