aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardware/cache-uniphier.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-10 07:00:48 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-28 12:57:14 -0400
commitdd34b115666a1ccc69e3af52cc92c7410490f4fd (patch)
tree1a3d4af8a9fd3bafe7626d83b5753f478ea70234 /arch/arm/include/asm/hardware/cache-uniphier.h
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ARM: uniphier: remove SoC-specific SMP code
The UniPhier architecture (32bit) switched over to PSCI. Remove the SoC-specific SMP operations. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
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 */