Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lokesh Vutla and committed by
Tony Lindgren
f7a9b8a1 f583f0f2

+9 -18
+1 -1
arch/arm/mach-omap2/common.c
··· 19 19 #include <linux/platform_data/dsp-omap.h> 20 20 21 21 #include <plat/clock.h> 22 - #include <plat/omap-secure.h> 23 22 #include <plat/vram.h> 24 23 25 24 #include "soc.h" ··· 26 27 #include "common.h" 27 28 #include "sdrc.h" 28 29 #include "control.h" 30 + #include "omap-secure.h" 29 31 30 32 /* Global address base setup code */ 31 33
-1
arch/arm/mach-omap2/omap-secure.c
··· 18 18 #include <asm/cacheflush.h> 19 19 #include <asm/memblock.h> 20 20 21 - #include <plat/omap-secure.h> 22 21 #include "omap-secure.h" 23 22 24 23 static phys_addr_t omap_secure_memblock_base;
+7
arch/arm/mach-omap2/omap-secure.h
··· 52 52 u32 arg1, u32 arg2, u32 arg3, u32 arg4); 53 53 extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); 54 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 63 #endif /* __ASSEMBLER__ */ 57 64 #endif /* OMAP_ARCH_OMAP_SECURE_H */
+1 -2
arch/arm/mach-omap2/omap4-common.c
··· 25 25 #include <asm/mach/map.h> 26 26 #include <asm/memblock.h> 27 27 28 - #include <plat/omap-secure.h> 29 - 30 28 #include "../plat-omap/sram.h" 31 29 32 30 #include "omap-wakeupgen.h" ··· 33 35 #include "mmc.h" 34 36 #include "hsmmc.h" 35 37 #include "omap4-sar-layout.h" 38 + #include "omap-secure.h" 36 39 37 40 #ifdef CONFIG_CACHE_L2X0 38 41 static void __iomem *l2cache_base;
-14
arch/arm/plat-omap/include/plat/omap-secure.h
··· 1 - #ifndef __OMAP_SECURE_H__ 2 - #define __OMAP_SECURE_H__ 3 - 4 - #include <linux/types.h> 5 - 6 - extern int omap_secure_ram_reserve_memblock(void); 7 - 8 - #ifdef CONFIG_OMAP4_ERRATA_I688 9 - extern int omap_barrier_reserve_memblock(void); 10 - #else 11 - static inline void omap_barrier_reserve_memblock(void) 12 - { } 13 - #endif 14 - #endif /* __OMAP_SECURE_H__ */