diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2013-09-08 09:43:29 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-10-08 11:55:32 -0700 |
commit | a33f1788192d13165594f8ec6975dbae34502ec9 (patch) | |
tree | 6894ffb5054b9fb8583d0a830758c6ee0b410a39 /arch/arm/mach-omap2/omap-secure.h | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af (diff) | |
download | linux-a33f1788192d13165594f8ec6975dbae34502ec9.tar.gz linux-a33f1788192d13165594f8ec6975dbae34502ec9.tar.bz2 linux-a33f1788192d13165594f8ec6975dbae34502ec9.zip |
ARM: OMAP3: Add secure function omap_smc3() which calling instruction smc #1
Here is new version (v4) of omap secure part patch:
Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0
but Nokia RX-51 board needs to call smc #1 for PPA access.
Signed-off-by: Ivaylo Dimitrov <freemangordon@abv.bg>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-secure.h')
-rw-r--r-- | arch/arm/mach-omap2/omap-secure.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap-secure.h b/arch/arm/mach-omap2/omap-secure.h index 0e729170c46b..c4586f42ea98 100644 --- a/arch/arm/mach-omap2/omap-secure.h +++ b/arch/arm/mach-omap2/omap-secure.h @@ -51,6 +51,7 @@ 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 u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs); extern phys_addr_t omap_secure_ram_mempool_base(void); extern int omap_secure_ram_reserve_memblock(void); |