From: Olof Johansson Date: Sat, 12 Jul 2014 16:44:52 +0000 (-0700) Subject: Merge tag 'renesas-soc2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git... X-Git-Tag: v3.17-rc1~79^2~27 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=e87d10b29f459e23964b14fe2300f808c5b6282e Merge tag 'renesas-soc2-for-v3.17' of git://git./linux/kernel/git/horms/renesas into next/soc Merge "Second Round of Renesas ARM Based SoC Updates for v3.17" from Simon Horman: * Suspend on non-SMP update for r8a7790 * Move r8a7791.h out of mach directory. This is part of a multi-stage effort to move headers out of that directory. * tag 'renesas-soc2-for-v3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Allow r8a7791 to build non-SMP APMU code ARM: shmobile: Move r8a7791 reset code to pm-r8a7791.c ARM: shmobile: Allow r8a7790 to build non-SMP APMU code ARM: shmobile: Move r8a7790 reset code to pm-r8a7790.c ARM: shmobile: Use __init for APMU suspend init function ARM: shmobile: Adjust APMU code to build for non-SMP ARM: shmobile: Allow use of boot code for non-SMP case ARM: shmobile: Move r8a7791.h Signed-off-by: Olof Johansson --- e87d10b29f459e23964b14fe2300f808c5b6282e diff --cc arch/arm/mach-shmobile/pm-r8a7790.c index 8845433a00b3,2f3c25080738..80e8d95e54d3 --- a/arch/arm/mach-shmobile/pm-r8a7790.c +++ b/arch/arm/mach-shmobile/pm-r8a7790.c @@@ -11,12 -11,22 +11,22 @@@ */ #include - + #include #include - -#include + #include "common.h" #include "pm-rcar.h" +#include "r8a7790.h" + /* RST */ + #define RST 0xe6160000 + #define CA15BAR 0x0020 + #define CA7BAR 0x0030 + #define CA15RESCNT 0x0040 + #define CA7RESCNT 0x0044 + + /* On-chip RAM */ + #define MERAM 0xe8080000 + /* SYSC */ #define SYSCIER 0x0c #define SYSCIMR 0x10 diff --cc arch/arm/mach-shmobile/smp-r8a7790.c index ad66beab2ea6,1e254f995ea7..2311694636e1 --- a/arch/arm/mach-shmobile/smp-r8a7790.c +++ b/arch/arm/mach-shmobile/smp-r8a7790.c @@@ -17,20 -17,11 +17,13 @@@ #include #include #include + #include -#include + #include "common.h" #include "pm-rcar.h" +#include "r8a7790.h" - #define RST 0xe6160000 - #define CA15BAR 0x0020 - #define CA7BAR 0x0030 - #define CA15RESCNT 0x0040 - #define CA7RESCNT 0x0044 - #define MERAM 0xe8080000 - static struct rcar_sysc_ch r8a7790_ca15_scu = { .chan_offs = 0x180, /* PWRSR5 .. PWRER5 */ .isr_bit = 12, /* CA15-SCU */