blob: a1aa4028389f1c9ddd260488b21f4a007fa08685 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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 */
16ENTRY(zx_resume_jump)
17 adr r1, zx_secondary_startup_pa
18 ldr r0, [r1]
19 bx r0
20ENDPROC(zx_resume_jump)
21
22ENTRY(zx_secondary_startup_pa)
23 .word zx_secondary_startup_pa
24
25ENTRY(zx_suspend_iram_sz)
26 .word . - zx_resume_jump
27ENDPROC(zx_secondary_startup_pa)
28
29
30ENTRY(zx_secondary_startup)
31 bl v7_invalidate_l1
32 b secondary_startup
33ENDPROC(zx_secondary_startup)