]>
Commit | Line | Data |
---|---|---|
71bc7243 JN |
1 | /* |
2 | * Copyright 2014 Linaro Ltd. | |
3 | * Copyright (C) 2014 ZTE Corporation. | |
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 | ||
10 | #include <linux/linkage.h> | |
11 | ||
12 | .align 3 | |
13 | ||
14 | /* It runs from physical address */ | |
15 | ENTRY(zx_resume_jump) | |
16 | adr r1, zx_secondary_startup_pa | |
17 | ldr r0, [r1] | |
18 | bx r0 | |
19 | ENDPROC(zx_resume_jump) | |
20 | ||
21 | ENTRY(zx_secondary_startup_pa) | |
22 | .word zx_secondary_startup_pa | |
23 | ||
24 | ENTRY(zx_suspend_iram_sz) | |
25 | .word . - zx_resume_jump | |
26 | ENDPROC(zx_secondary_startup_pa) | |
27 | ||
28 | ||
29 | ENTRY(zx_secondary_startup) | |
30 | bl v7_invalidate_l1 | |
31 | b secondary_startup | |
32 | ENDPROC(zx_secondary_startup) |