diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2012-10-01 14:47:06 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-18 19:22:24 -0400 |
commit | f7a9b8a147cc10c7181cf0ca7b2b06cebf950140 (patch) | |
tree | f8614abe2b635181146aafae9f15a58fae1e3e83 /arch/arm/mach-omap2 | |
parent | f583f0f2c720e4ac7d2ffd65996717bf0345a3e5 (diff) |
ARM: OMAP: Move plat/omap-secure.h locally to mach-omap2
Moving plat/omap-secure.h locally to mach-omap2/
as part of single zImage work
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap-secure.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap-secure.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 3 |
4 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/common.c b/arch/arm/mach-omap2/common.c index 4ce0d63e941b..b0f21b7d3760 100644 --- a/arch/arm/mach-omap2/common.c +++ b/arch/arm/mach-omap2/common.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/platform_data/dsp-omap.h> | 19 | #include <linux/platform_data/dsp-omap.h> |
20 | 20 | ||
21 | #include <plat/clock.h> | 21 | #include <plat/clock.h> |
22 | #include <plat/omap-secure.h> | ||
23 | #include <plat/vram.h> | 22 | #include <plat/vram.h> |
24 | 23 | ||
25 | #include "soc.h" | 24 | #include "soc.h" |
@@ -27,6 +26,7 @@ | |||
27 | #include "common.h" | 26 | #include "common.h" |
28 | #include "sdrc.h" | 27 | #include "sdrc.h" |
29 | #include "control.h" | 28 | #include "control.h" |
29 | #include "omap-secure.h" | ||
30 | 30 | ||
31 | /* Global address base setup code */ | 31 | /* Global address base setup code */ |
32 | 32 | ||
diff --git a/arch/arm/mach-omap2/omap-secure.c b/arch/arm/mach-omap2/omap-secure.c index e089e4d1ae38..b970440cffca 100644 --- a/arch/arm/mach-omap2/omap-secure.c +++ b/arch/arm/mach-omap2/omap-secure.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
19 | #include <asm/memblock.h> | 19 | #include <asm/memblock.h> |
20 | 20 | ||
21 | #include <plat/omap-secure.h> | ||
22 | #include "omap-secure.h" | 21 | #include "omap-secure.h" |
23 | 22 | ||
24 | static phys_addr_t omap_secure_memblock_base; | 23 | static phys_addr_t omap_secure_memblock_base; |
diff --git a/arch/arm/mach-omap2/omap-secure.h b/arch/arm/mach-omap2/omap-secure.h index c90a43589abe..0e729170c46b 100644 --- a/arch/arm/mach-omap2/omap-secure.h +++ b/arch/arm/mach-omap2/omap-secure.h | |||
@@ -52,6 +52,13 @@ extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, | |||
52 | u32 arg1, u32 arg2, u32 arg3, u32 arg4); | 52 | u32 arg1, u32 arg2, u32 arg3, u32 arg4); |
53 | extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); | 53 | extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); |
54 | extern phys_addr_t omap_secure_ram_mempool_base(void); | 54 | extern phys_addr_t omap_secure_ram_mempool_base(void); |
55 | extern int omap_secure_ram_reserve_memblock(void); | ||
55 | 56 | ||
57 | #ifdef CONFIG_OMAP4_ERRATA_I688 | ||
58 | extern int omap_barrier_reserve_memblock(void); | ||
59 | #else | ||
60 | static inline void omap_barrier_reserve_memblock(void) | ||
61 | { } | ||
62 | #endif | ||
56 | #endif /* __ASSEMBLER__ */ | 63 | #endif /* __ASSEMBLER__ */ |
57 | #endif /* OMAP_ARCH_OMAP_SECURE_H */ | 64 | #endif /* OMAP_ARCH_OMAP_SECURE_H */ |
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 05d55fb3f8f5..d25845c471da 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
@@ -25,8 +25,6 @@ | |||
25 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
26 | #include <asm/memblock.h> | 26 | #include <asm/memblock.h> |
27 | 27 | ||
28 | #include <plat/omap-secure.h> | ||
29 | |||
30 | #include "../plat-omap/sram.h" | 28 | #include "../plat-omap/sram.h" |
31 | 29 | ||
32 | #include "omap-wakeupgen.h" | 30 | #include "omap-wakeupgen.h" |
@@ -35,6 +33,7 @@ | |||
35 | #include "mmc.h" | 33 | #include "mmc.h" |
36 | #include "hsmmc.h" | 34 | #include "hsmmc.h" |
37 | #include "omap4-sar-layout.h" | 35 | #include "omap4-sar-layout.h" |
36 | #include "omap-secure.h" | ||
38 | 37 | ||
39 | #ifdef CONFIG_CACHE_L2X0 | 38 | #ifdef CONFIG_CACHE_L2X0 |
40 | static void __iomem *l2cache_base; | 39 | static void __iomem *l2cache_base; |