GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / mach-zx / headsmp.S
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         .arm
14
15 /* It runs from physical address */
16 ENTRY(zx_resume_jump)
17         adr     r1, zx_secondary_startup_pa
18         ldr     r0, [r1]
19         bx      r0
20 ENDPROC(zx_resume_jump)
21
22 ENTRY(zx_secondary_startup_pa)
23         .word   zx_secondary_startup_pa
24
25 ENTRY(zx_suspend_iram_sz)
26         .word   . - zx_resume_jump
27 ENDPROC(zx_secondary_startup_pa)
28
29
30 ENTRY(zx_secondary_startup)
31         bl      v7_invalidate_l1
32         b       secondary_startup
33 ENDPROC(zx_secondary_startup)