Gregory CLEMENT | 1ee89e2 | 2014-04-14 15:54:05 +0200 | [diff] [blame] | 1 | /* |
| 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 Petazzoni | 0e2be4c | 2014-07-01 17:23:06 +0200 | [diff] [blame] | 18 | #include <asm/assembler.h> |
| 19 | |
Gregory CLEMENT | 1ee89e2 | 2014-04-14 15:54:05 +0200 | [diff] [blame] | 20 | __CPUINIT |
Gregory CLEMENT | 87384cc | 2014-04-14 15:54:06 +0200 | [diff] [blame] | 21 | |
Gregory CLEMENT | 1ee89e2 | 2014-04-14 15:54:05 +0200 | [diff] [blame] | 22 | ENTRY(mvebu_cortex_a9_secondary_startup) |
Thomas Petazzoni | 0e2be4c | 2014-07-01 17:23:06 +0200 | [diff] [blame] | 23 | ARM_BE8(setend be) |
Gregory CLEMENT | 1ee89e2 | 2014-04-14 15:54:05 +0200 | [diff] [blame] | 24 | bl v7_invalidate_l1 |
Gregory CLEMENT | f5789cb | 2014-10-30 12:39:43 +0100 | [diff] [blame] | 25 | bl armada_38x_scu_power_up |
Gregory CLEMENT | 1ee89e2 | 2014-04-14 15:54:05 +0200 | [diff] [blame] | 26 | b secondary_startup |
| 27 | ENDPROC(mvebu_cortex_a9_secondary_startup) |