blob: 08d5ed46b996be2d36ad44285008ab801c90b479 [file] [log] [blame]
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +02001/*
2 * SMP support: Entry point for secondary CPUs of Marvell EBU
3 * Cortex-A9 based SOCs (Armada 375 and Armada 38x).
4 *
5 * Copyright (C) 2014 Marvell
6 *
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 *
10 * This file is licensed under the terms of the GNU General Public
11 * License version 2. This program is licensed "as is" without any
12 * warranty of any kind, whether express or implied.
13 */
14
15#include <linux/linkage.h>
16#include <linux/init.h>
17
Thomas Petazzoni0e2be4c2014-07-01 17:23:06 +020018#include <asm/assembler.h>
19
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020020 __CPUINIT
Gregory CLEMENT87384cc2014-04-14 15:54:06 +020021
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020022ENTRY(mvebu_cortex_a9_secondary_startup)
Thomas Petazzoni0e2be4c2014-07-01 17:23:06 +020023ARM_BE8(setend be)
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020024 bl v7_invalidate_l1
Gregory CLEMENTf5789cb2014-10-30 12:39:43 +010025 bl armada_38x_scu_power_up
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020026 b secondary_startup
27ENDPROC(mvebu_cortex_a9_secondary_startup)