xref: /openbmc/linux/arch/arm/mach-rockchip/headsmp.S (revision a7a2b311)
1a7a2b311SHeiko Stuebner/*
2a7a2b311SHeiko Stuebner * Copyright (c) 2013 MundoReader S.L.
3a7a2b311SHeiko Stuebner * Author: Heiko Stuebner <heiko@sntech.de>
4a7a2b311SHeiko Stuebner *
5a7a2b311SHeiko Stuebner * This program is free software; you can redistribute it and/or modify
6a7a2b311SHeiko Stuebner * it under the terms of the GNU General Public License as published by
7a7a2b311SHeiko Stuebner * the Free Software Foundation; either version 2 of the License, or
8a7a2b311SHeiko Stuebner * (at your option) any later version.
9a7a2b311SHeiko Stuebner *
10a7a2b311SHeiko Stuebner * This program is distributed in the hope that it will be useful,
11a7a2b311SHeiko Stuebner * but WITHOUT ANY WARRANTY; without even the implied warranty of
12a7a2b311SHeiko Stuebner * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13a7a2b311SHeiko Stuebner * GNU General Public License for more details.
14a7a2b311SHeiko Stuebner */
15a7a2b311SHeiko Stuebner#include <linux/linkage.h>
16a7a2b311SHeiko Stuebner#include <linux/init.h>
17a7a2b311SHeiko Stuebner
18a7a2b311SHeiko StuebnerENTRY(rockchip_secondary_startup)
19a7a2b311SHeiko Stuebner	bl	v7_invalidate_l1
20a7a2b311SHeiko Stuebner	b	secondary_startup
21a7a2b311SHeiko StuebnerENDPROC(rockchip_secondary_startup)
22a7a2b311SHeiko Stuebner
23a7a2b311SHeiko StuebnerENTRY(rockchip_secondary_trampoline)
24a7a2b311SHeiko Stuebner	ldr	pc, 1f
25a7a2b311SHeiko StuebnerENDPROC(rockchip_secondary_trampoline)
26a7a2b311SHeiko Stuebner	.globl	rockchip_boot_fn
27a7a2b311SHeiko Stuebnerrockchip_boot_fn:
28a7a2b311SHeiko Stuebner1:	.space	4
29a7a2b311SHeiko Stuebner
30a7a2b311SHeiko StuebnerENTRY(rockchip_secondary_trampoline_end)
31