e095e684b9c24a9757dbb9db262887ae61cde306
[platform/kernel/u-boot.git] / arch / arm / mach-uniphier / arm32 / cache-uniphier.h
1 /*
2  * Copyright (C) 2016 Socionext Inc.
3  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __CACHE_UNIPHIER_H
9 #define __CACHE_UNIPHIER_H
10
11 #include <linux/types.h>
12
13 void uniphier_cache_prefetch_range(u32 start, u32 end, u32 ways);
14 void uniphier_cache_touch_range(u32 start, u32 end, u32 ways);
15 void uniphier_cache_touch_zero_range(u32 start, u32 end, u32 ways);
16 void uniphier_cache_inv_way(u32 ways);
17 void uniphier_cache_enable(void);
18 void uniphier_cache_disable(void);
19
20 #endif /* __CACHE_UNIPHIER_H */