diff options
author | Daniel Allred <d-allred@ti.com> | 2016-06-27 09:19:17 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:18 -0400 |
commit | 51d0638650646e4e2d87600829fe004cd767756e (patch) | |
tree | 8de76ce933d69ccab7d4b44743c0ce8ea4a9d330 /arch/arm/include/asm/omap_common.h | |
parent | ec6f61003b6cda13b20878a990e5f9b70496d0ad (diff) | |
download | u-boot-51d0638650646e4e2d87600829fe004cd767756e.tar.gz u-boot-51d0638650646e4e2d87600829fe004cd767756e.tar.xz u-boot-51d0638650646e4e2d87600829fe004cd767756e.zip |
arm: omap-common: add secure smc entry
Add an interface for calling secure ROM APIs across a range of OMAP and
OMAP compatible high-security (HS) device variants. While at it, also
perform minor cleanup/alignment without any change in functionality.
Signed-off-by: Daniel Allred <d-allred@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/omap_common.h')
-rw-r--r-- | arch/arm/include/asm/omap_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 07f384867e..605c549f0a 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/omap_common.h @@ -627,6 +627,12 @@ void recalibrate_iodelay(void); void omap_smc1(u32 service, u32 val); +/* + * Low-level helper function used when performing secure ROM calls on high- + * security (HS) device variants by doing a specially-formed smc entry. + */ +u32 omap_smc_sec(u32 service, u32 proc_id, u32 flag, u32 *params); + void enable_edma3_clocks(void); void disable_edma3_clocks(void); |