xref: /openbmc/linux/arch/arm/mach-berlin/headsmp.S (revision 0da85d1e)
1/*
2 * Copyright (C) 2014 Marvell Technology Group Ltd.
3 *
4 * Antoine Ténart <antoine.tenart@free-electrons.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#include <linux/linkage.h>
12#include <linux/init.h>
13#include <asm/assembler.h>
14
15ENTRY(berlin_secondary_startup)
16 ARM_BE8(setend be)
17	bl	v7_invalidate_l1
18	b       secondary_startup
19ENDPROC(berlin_secondary_startup)
20
21/*
22 * If the following instruction is set in the reset exception vector, CPUs
23 * will fetch the value of the software reset address vector when being
24 * reset.
25 */
26.global boot_inst
27boot_inst:
28	ldr	pc, [pc, #140]
29
30	.align
31