diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2015-01-09 08:08:50 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-02-23 18:22:45 -0500 |
commit | 8e8bffffdaf6b75fb1380bfbb80481d3073086c5 (patch) | |
tree | a1c12af8dcfd942c05c6bb782b98b70a76f740ae /arch/arm/mach-shmobile | |
parent | 0b52b2508b1e410c2e80408a580412d85401ecd3 (diff) |
ARM: shmobile: sh73a0: Add Multiplatform support
Enable sh73a0 Multiplatform support for the generic sh73a0
machine vector. No board support is enabled, and the board
code for KZM9G DT Reference is left by itself.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/smp-sh73a0.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 2f36c85eec4b..8ee2f281f2a3 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -78,6 +78,11 @@ config ARCH_R8A7794 | |||
78 | bool "R-Car E2 (R8A77940)" | 78 | bool "R-Car E2 (R8A77940)" |
79 | select ARCH_RCAR_GEN2 | 79 | select ARCH_RCAR_GEN2 |
80 | 80 | ||
81 | config ARCH_SH73A0 | ||
82 | bool "SH-Mobile AG5 (R8A73A00)" | ||
83 | select ARCH_RMOBILE | ||
84 | select RENESAS_INTC_IRQPIN | ||
85 | |||
81 | comment "Renesas ARM SoCs Board Type" | 86 | comment "Renesas ARM SoCs Board Type" |
82 | 87 | ||
83 | config MACH_MARZEN | 88 | config MACH_MARZEN |
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile index d53996e6da97..b400f5fe72c2 100644 --- a/arch/arm/mach-shmobile/Makefile +++ b/arch/arm/mach-shmobile/Makefile | |||
@@ -7,7 +7,7 @@ obj-y := timer.o console.o | |||
7 | 7 | ||
8 | # CPU objects | 8 | # CPU objects |
9 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o pm-sh7372.o | 9 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o pm-sh7372.o |
10 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o pm-sh73a0.o | 10 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o pm-sh73a0.o |
11 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o | 11 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o |
12 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o pm-r8a7740.o | 12 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o pm-r8a7740.o |
13 | obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o | 13 | obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o |
@@ -65,7 +65,7 @@ obj-$(CONFIG_MACH_BOCKW) += board-bockw.o | |||
65 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o | 65 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o |
66 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o | 66 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
67 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o | 67 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
68 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o | 68 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o intc-sh73a0.o |
69 | obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o | 69 | obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o |
70 | endif | 70 | endif |
71 | 71 | ||
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c index c16dbfe9836c..2106d6b76a06 100644 --- a/arch/arm/mach-shmobile/smp-sh73a0.c +++ b/arch/arm/mach-shmobile/smp-sh73a0.c | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | #define SH73A0_SCU_BASE 0xf0000000 | 34 | #define SH73A0_SCU_BASE 0xf0000000 |
35 | 35 | ||
36 | #ifdef CONFIG_HAVE_ARM_TWD | 36 | #if defined(CONFIG_HAVE_ARM_TWD) && !defined(CONFIG_ARCH_MULTIPLATFORM) |
37 | static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, SH73A0_SCU_BASE + 0x600, 29); | 37 | static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, SH73A0_SCU_BASE + 0x600, 29); |
38 | void __init sh73a0_register_twd(void) | 38 | void __init sh73a0_register_twd(void) |
39 | { | 39 | { |