2 * OMAP44xx secure APIs file.
4 * Copyright (C) 2010 Texas Instruments, Inc.
5 * Written by Santosh Shilimkar <santosh.shilimkar@ti.com>
8 * This program is free software,you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <linux/linkage.h>
16 * This is common routine to manage secure monitor API
17 * used to modify the PL310 secure registers.
18 * 'r0' contains the value to be modified and 'r12' contains
19 * the monitor API number. It uses few CPU registers
20 * internally and hence they need be backed up including
22 * Function signature : void omap_smc1(u32 fn, u32 arg)
26 stmfd sp!, {r2-r12, lr}
31 ldmfd sp!, {r2-r12, pc}
34 ENTRY(omap_modify_auxcoreboot0)
35 stmfd sp!, {r1-r12, lr}
39 ldmfd sp!, {r1-r12, pc}
40 ENDPROC(omap_modify_auxcoreboot0)
42 ENTRY(omap_auxcoreboot_addr)
43 stmfd sp!, {r2-r12, lr}
47 ldmfd sp!, {r2-r12, pc}
48 ENDPROC(omap_auxcoreboot_addr)
50 ENTRY(omap_read_auxcoreboot0)
51 stmfd sp!, {r2-r12, lr}
56 ldmfd sp!, {r2-r12, pc}
57 ENDPROC(omap_read_auxcoreboot0)