diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 14:14:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 14:14:29 -0400 |
commit | b3345d7c57d70e6cb6749af25cdbe80515582e99 (patch) | |
tree | 04cce706bc7e944ad1fb257108a8ae735948f97f /arch/arm/mach-shmobile/headsmp.S | |
parent | 44c916d58b9ef1f2c4aec2def57fa8289c716a60 (diff) | |
parent | c2fff85e21818952aa0ee5778926beee6c03e579 (diff) |
Merge tag 'soc-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform changes from Olof Johansson:
"This is the bulk of new SoC enablement and other platform changes for
3.17:
- Samsung S5PV210 has been converted to DT and multiplatform
- Clock drivers and bindings for some of the lower-end i.MX 1/2
platforms
- Kirkwood, one of the popular Marvell platforms, is folded into the
mvebu platform code, removing mach-kirkwood
- Hwmod data for TI AM43xx and DRA7 platforms
- More additions of Renesas shmobile platform support
- Removal of plat-samsung contents that can be removed with S5PV210
being multiplatform/DT-enabled and the other two old platforms
being removed
New platforms (most with only basic support right now):
- Hisilicon X5HD2 settop box chipset is introduced
- Mediatek MT6589 (mobile chipset) is introduced
- Broadcom BCM7xxx settop box chipset is introduced
+ as usual a lot other pieces all over the platform code"
* tag 'soc-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (240 commits)
ARM: hisi: remove smp from machine descriptor
power: reset: move hisilicon reboot code
ARM: dts: Add hix5hd2-dkb dts file.
ARM: debug: Rename Hi3716 to HIX5HD2
ARM: hisi: enable hix5hd2 SoC
ARM: hisi: add ARCH_HISI
MAINTAINERS: add entry for Broadcom ARM STB architecture
ARM: brcmstb: select GISB arbiter and interrupt drivers
ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs
ARM: configs: enable SMP in bcm_defconfig
ARM: add SMP support for Broadcom mobile SoCs
Documentation: arm: misc updates to Marvell EBU SoC status
Documentation: arm: add URLs to public datasheets for the Marvell Armada XP SoC
ARM: mvebu: fix build without platforms selected
ARM: mvebu: add cpuidle support for Armada 38x
ARM: mvebu: add cpuidle support for Armada 370
cpuidle: mvebu: add Armada 38x support
cpuidle: mvebu: add Armada 370 support
cpuidle: mvebu: rename the driver from armada-370-xp to mvebu-v7
ARM: mvebu: export the SCU address
...
Diffstat (limited to 'arch/arm/mach-shmobile/headsmp.S')
-rw-r--r-- | arch/arm/mach-shmobile/headsmp.S | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/headsmp.S b/arch/arm/mach-shmobile/headsmp.S index 293007579b8e..50c491567e11 100644 --- a/arch/arm/mach-shmobile/headsmp.S +++ b/arch/arm/mach-shmobile/headsmp.S | |||
@@ -10,15 +10,18 @@ | |||
10 | * it under the terms of the GNU General Public License version 2 as | 10 | * it under the terms of the GNU General Public License version 2 as |
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | #include <linux/linkage.h> | ||
14 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/linkage.h> | ||
15 | #include <linux/threads.h> | ||
15 | #include <asm/assembler.h> | 16 | #include <asm/assembler.h> |
16 | #include <asm/memory.h> | 17 | #include <asm/memory.h> |
17 | 18 | ||
19 | #ifdef CONFIG_SMP | ||
18 | ENTRY(shmobile_invalidate_start) | 20 | ENTRY(shmobile_invalidate_start) |
19 | bl v7_invalidate_l1 | 21 | bl v7_invalidate_l1 |
20 | b secondary_startup | 22 | b secondary_startup |
21 | ENDPROC(shmobile_invalidate_start) | 23 | ENDPROC(shmobile_invalidate_start) |
24 | #endif | ||
22 | 25 | ||
23 | /* | 26 | /* |
24 | * Reset vector for secondary CPUs. | 27 | * Reset vector for secondary CPUs. |
@@ -69,7 +72,7 @@ shmobile_smp_boot_find_mpidr: | |||
69 | 72 | ||
70 | shmobile_smp_boot_next: | 73 | shmobile_smp_boot_next: |
71 | add r1, r1, #1 | 74 | add r1, r1, #1 |
72 | cmp r1, #CONFIG_NR_CPUS | 75 | cmp r1, #NR_CPUS |
73 | blo shmobile_smp_boot_find_mpidr | 76 | blo shmobile_smp_boot_find_mpidr |
74 | 77 | ||
75 | b shmobile_smp_sleep | 78 | b shmobile_smp_sleep |
@@ -86,10 +89,10 @@ ENDPROC(shmobile_smp_sleep) | |||
86 | 89 | ||
87 | .globl shmobile_smp_mpidr | 90 | .globl shmobile_smp_mpidr |
88 | shmobile_smp_mpidr: | 91 | shmobile_smp_mpidr: |
89 | 1: .space CONFIG_NR_CPUS * 4 | 92 | 1: .space NR_CPUS * 4 |
90 | .globl shmobile_smp_fn | 93 | .globl shmobile_smp_fn |
91 | shmobile_smp_fn: | 94 | shmobile_smp_fn: |
92 | 2: .space CONFIG_NR_CPUS * 4 | 95 | 2: .space NR_CPUS * 4 |
93 | .globl shmobile_smp_arg | 96 | .globl shmobile_smp_arg |
94 | shmobile_smp_arg: | 97 | shmobile_smp_arg: |
95 | 3: .space CONFIG_NR_CPUS * 4 | 98 | 3: .space NR_CPUS * 4 |