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