Michal Simek | aa7eb2b | 2013-03-20 13:50:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> |
| 3 | * Copyright (c) 2012-2013 Xilinx |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | #include <linux/linkage.h> |
| 10 | #include <linux/init.h> |
| 11 | |
Michal Simek | aa7eb2b | 2013-03-20 13:50:12 +0100 | [diff] [blame] | 12 | ENTRY(zynq_secondary_trampoline) |
| 13 | ldr r0, [pc] |
| 14 | bx r0 |
| 15 | .globl zynq_secondary_trampoline_jump |
| 16 | zynq_secondary_trampoline_jump: |
| 17 | /* Space for jumping address */ |
| 18 | .word /* cpu 1 */ |
| 19 | .globl zynq_secondary_trampoline_end |
| 20 | zynq_secondary_trampoline_end: |
Michal Simek | aa7eb2b | 2013-03-20 13:50:12 +0100 | [diff] [blame] | 21 | ENDPROC(zynq_secondary_trampoline) |
Soren Brinkmann | 6a37ff38 | 2013-10-31 09:10:15 -0700 | [diff] [blame] | 22 | |
| 23 | ENTRY(zynq_secondary_startup) |
| 24 | bl v7_invalidate_l1 |
| 25 | b secondary_startup |
| 26 | ENDPROC(zynq_secondary_startup) |