summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap-smc.S
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2014-04-07 23:49:35 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-07 23:49:35 (GMT)
commit62b8c978ee6b8d135d9e7953221de58000dba986 (patch)
tree683b04b2e627f6710c22c151b23c8cc9a165315e /arch/arm/mach-omap2/omap-smc.S
parent78fd82238d0e5716578c326404184a27ba67fd6e (diff)
downloadlinux-fsl-qoriq-62b8c978ee6b8d135d9e7953221de58000dba986.tar.xz
Rewind v3.13-rc3+ (78fd82238d0e5716) to v3.12
Diffstat (limited to 'arch/arm/mach-omap2/omap-smc.S')
-rw-r--r--arch/arm/mach-omap2/omap-smc.S21
1 files changed, 1 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/omap-smc.S b/arch/arm/mach-omap2/omap-smc.S
index fd90125..f6441c1 100644
--- a/arch/arm/mach-omap2/omap-smc.S
+++ b/arch/arm/mach-omap2/omap-smc.S
@@ -1,11 +1,9 @@
/*
- * OMAP34xx and OMAP44xx secure APIs file.
+ * OMAP44xx secure APIs file.
*
* Copyright (C) 2010 Texas Instruments, Inc.
* Written by Santosh Shilimkar <santosh.shilimkar@ti.com>
*
- * Copyright (C) 2012 Ivaylo Dimitrov <freemangordon@abv.bg>
- * Copyright (C) 2013 Pali Rohár <pali.rohar@gmail.com>
*
* This program is free software,you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -56,23 +54,6 @@ ENTRY(omap_smc2)
ldmfd sp!, {r4-r12, pc}
ENDPROC(omap_smc2)
-/**
- * u32 omap_smc3(u32 service_id, u32 process_id, u32 flag, u32 pargs)
- * Low level common routine for secure HAL and PPA APIs via smc #1
- * r0 - @service_id: Secure Service ID
- * r1 - @process_id: Process ID
- * r2 - @flag: Flag to indicate the criticality of operation
- * r3 - @pargs: Physical address of parameter list
- */
-ENTRY(omap_smc3)
- stmfd sp!, {r4-r11, lr}
- mov r12, r0 @ Copy the secure service ID
- mov r6, #0xff @ Indicate new Task call
- dsb @ Memory Barrier (not sure if needed, copied from omap_smc2)
- smc #1 @ Call PPA service
- ldmfd sp!, {r4-r11, pc}
-ENDPROC(omap_smc3)
-
ENTRY(omap_modify_auxcoreboot0)
stmfd sp!, {r1-r12, lr}
ldr r12, =0x104