diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap-secure.h')
-rw-r--r-- | arch/arm/mach-omap2/omap-secure.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap-secure.h b/arch/arm/mach-omap2/omap-secure.h index c4586f42ea98..51b59c686a53 100644 --- a/arch/arm/mach-omap2/omap-secure.h +++ b/arch/arm/mach-omap2/omap-secure.h | |||
@@ -3,6 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2011 Texas Instruments, Inc. | 4 | * Copyright (C) 2011 Texas Instruments, Inc. |
5 | * Santosh Shilimkar <santosh.shilimkar@ti.com> | 5 | * Santosh Shilimkar <santosh.shilimkar@ti.com> |
6 | * Copyright (C) 2012 Ivaylo Dimitrov <freemangordon@abv.bg> | ||
7 | * Copyright (C) 2013 Pali Rohár <pali.rohar@gmail.com> | ||
6 | * | 8 | * |
7 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License version 2 as | 10 | * it under the terms of the GNU General Public License version 2 as |
@@ -46,6 +48,11 @@ | |||
46 | #define OMAP4_PPA_L2_POR_INDEX 0x23 | 48 | #define OMAP4_PPA_L2_POR_INDEX 0x23 |
47 | #define OMAP4_PPA_CPU_ACTRL_SMP_INDEX 0x25 | 49 | #define OMAP4_PPA_CPU_ACTRL_SMP_INDEX 0x25 |
48 | 50 | ||
51 | /* Secure RX-51 PPA (Primary Protected Application) APIs */ | ||
52 | #define RX51_PPA_HWRNG 29 | ||
53 | #define RX51_PPA_L2_INVAL 40 | ||
54 | #define RX51_PPA_WRITE_ACR 42 | ||
55 | |||
49 | #ifndef __ASSEMBLER__ | 56 | #ifndef __ASSEMBLER__ |
50 | 57 | ||
51 | extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, | 58 | extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, |
@@ -55,6 +62,10 @@ extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs); | |||
55 | extern phys_addr_t omap_secure_ram_mempool_base(void); | 62 | extern phys_addr_t omap_secure_ram_mempool_base(void); |
56 | extern int omap_secure_ram_reserve_memblock(void); | 63 | extern int omap_secure_ram_reserve_memblock(void); |
57 | 64 | ||
65 | extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, | ||
66 | u32 arg1, u32 arg2, u32 arg3, u32 arg4); | ||
67 | extern u32 rx51_secure_update_aux_cr(u32 set_bits, u32 clear_bits); | ||
68 | |||
58 | #ifdef CONFIG_OMAP4_ERRATA_I688 | 69 | #ifdef CONFIG_OMAP4_ERRATA_I688 |
59 | extern int omap_barrier_reserve_memblock(void); | 70 | extern int omap_barrier_reserve_memblock(void); |
60 | #else | 71 | #else |