2019-06-04 10:11:33 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2015-04-28 11:18:10 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Linaro Ltd.
|
|
|
|
* Copyright (C) 2014 ZTE Corporation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
|
|
|
|
.align 3
|
2015-05-21 10:36:42 +02:00
|
|
|
.arm
|
2015-04-28 11:18:10 +02:00
|
|
|
|
|
|
|
/* It runs from physical address */
|
|
|
|
ENTRY(zx_resume_jump)
|
|
|
|
adr r1, zx_secondary_startup_pa
|
|
|
|
ldr r0, [r1]
|
|
|
|
bx r0
|
|
|
|
ENDPROC(zx_resume_jump)
|
|
|
|
|
|
|
|
ENTRY(zx_secondary_startup_pa)
|
|
|
|
.word zx_secondary_startup_pa
|
|
|
|
|
|
|
|
ENTRY(zx_suspend_iram_sz)
|
|
|
|
.word . - zx_resume_jump
|
|
|
|
ENDPROC(zx_secondary_startup_pa)
|
|
|
|
|
|
|
|
|
|
|
|
ENTRY(zx_secondary_startup)
|
|
|
|
bl v7_invalidate_l1
|
|
|
|
b secondary_startup
|
|
|
|
ENDPROC(zx_secondary_startup)
|