aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardware/cache-uniphier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/hardware/cache-uniphier.h')
-rw-r--r--arch/arm/include/asm/hardware/cache-uniphier.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/include/asm/hardware/cache-uniphier.h b/arch/arm/include/asm/hardware/cache-uniphier.h
index 102e3fbe1e10..eaa60da7dac3 100644
--- a/arch/arm/include/asm/hardware/cache-uniphier.h
+++ b/arch/arm/include/asm/hardware/cache-uniphier.h
@@ -1,5 +1,6 @@
1/* 1/*
2 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> 2 * Copyright (C) 2015-2016 Socionext Inc.
3 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
3 * 4 *
4 * This program is free software; you can redistribute it and/or modify 5 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
@@ -19,28 +20,11 @@
19 20
20#ifdef CONFIG_CACHE_UNIPHIER 21#ifdef CONFIG_CACHE_UNIPHIER
21int uniphier_cache_init(void); 22int uniphier_cache_init(void);
22int uniphier_cache_l2_is_enabled(void);
23void uniphier_cache_l2_touch_range(unsigned long start, unsigned long end);
24void uniphier_cache_l2_set_locked_ways(u32 way_mask);
25#else 23#else
26static inline int uniphier_cache_init(void) 24static inline int uniphier_cache_init(void)
27{ 25{
28 return -ENODEV; 26 return -ENODEV;
29} 27}
30
31static inline int uniphier_cache_l2_is_enabled(void)
32{
33 return 0;
34}
35
36static inline void uniphier_cache_l2_touch_range(unsigned long start,
37 unsigned long end)
38{
39}
40
41static inline void uniphier_cache_l2_set_locked_ways(u32 way_mask)
42{
43}
44#endif 28#endif
45 29
46#endif /* __CACHE_UNIPHIER_H */ 30#endif /* __CACHE_UNIPHIER_H */