Skip to content

Commit

Permalink
ARM: OMAP: Move plat/omap-secure.h locally to mach-omap2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lokesh Vutla authored and Tony Lindgren committed Oct 18, 2012
1 parent f583f0f commit f7a9b8a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
#include <linux/platform_data/dsp-omap.h>

#include <plat/clock.h>
#include <plat/omap-secure.h>
#include <plat/vram.h>

#include "soc.h"
#include "iomap.h"
#include "common.h"
#include "sdrc.h"
#include "control.h"
#include "omap-secure.h"

/* Global address base setup code */

Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-omap2/omap-secure.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <asm/cacheflush.h>
#include <asm/memblock.h>

#include <plat/omap-secure.h>
#include "omap-secure.h"

static phys_addr_t omap_secure_memblock_base;
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/mach-omap2/omap-secure.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
u32 arg1, u32 arg2, u32 arg3, u32 arg4);
extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
extern phys_addr_t omap_secure_ram_mempool_base(void);
extern int omap_secure_ram_reserve_memblock(void);

#ifdef CONFIG_OMAP4_ERRATA_I688
extern int omap_barrier_reserve_memblock(void);
#else
static inline void omap_barrier_reserve_memblock(void)
{ }
#endif
#endif /* __ASSEMBLER__ */
#endif /* OMAP_ARCH_OMAP_SECURE_H */
3 changes: 1 addition & 2 deletions arch/arm/mach-omap2/omap4-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include <asm/mach/map.h>
#include <asm/memblock.h>

#include <plat/omap-secure.h>

#include "../plat-omap/sram.h"

#include "omap-wakeupgen.h"
Expand All @@ -35,6 +33,7 @@
#include "mmc.h"
#include "hsmmc.h"
#include "omap4-sar-layout.h"
#include "omap-secure.h"

#ifdef CONFIG_CACHE_L2X0
static void __iomem *l2cache_base;
Expand Down
14 changes: 0 additions & 14 deletions arch/arm/plat-omap/include/plat/omap-secure.h

This file was deleted.

0 comments on commit f7a9b8a

Please sign in to comment.