diff options
author | Magnus Damm <damm@opensource.se> | 2013-11-06 18:31:25 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 03:24:25 -0500 |
commit | 7d91c4691207a302c50308ab38706b8a3d6039cd (patch) | |
tree | b487f7be7744e4fc45b923939661ed17260f67a6 | |
parent | c4e337fc0cd5aebda6849fbbecd6cfd645d1bae6 (diff) |
ARM: shmobile: r7s72100 Genmai Multiplatform
Add r7s72100 Genmai to SHMOBILE_MULTI.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-genmai-reference.c | 5 |
4 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b17de79696e3..5ef42fca1db0 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -234,6 +234,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += emev2-kzm9d.dtb \ | |||
234 | r8a73a4-ape6evm-reference.dtb \ | 234 | r8a73a4-ape6evm-reference.dtb \ |
235 | sh7372-mackerel.dtb | 235 | sh7372-mackerel.dtb |
236 | dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ | 236 | dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ |
237 | r7s72100-genmai-reference.dtb \ | ||
237 | r8a7791-koelsch-reference.dtb | 238 | r8a7791-koelsch-reference.dtb |
238 | dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ | 239 | dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ |
239 | socfpga_cyclone5_socdk.dtb \ | 240 | socfpga_cyclone5_socdk.dtb \ |
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 8bc730890384..bb0837b8c05c 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -24,12 +24,19 @@ comment "SH-Mobile System Type" | |||
24 | config ARCH_EMEV2 | 24 | config ARCH_EMEV2 |
25 | bool "Emma Mobile EV2" | 25 | bool "Emma Mobile EV2" |
26 | 26 | ||
27 | config ARCH_R7S72100 | ||
28 | bool "RZ/A1H (R7S72100)" | ||
29 | |||
27 | config ARCH_R8A7791 | 30 | config ARCH_R8A7791 |
28 | bool "R-Car M2 (R8A77910)" | 31 | bool "R-Car M2 (R8A77910)" |
29 | select RENESAS_IRQC | 32 | select RENESAS_IRQC |
30 | 33 | ||
31 | comment "SH-Mobile Board Type" | 34 | comment "SH-Mobile Board Type" |
32 | 35 | ||
36 | config MACH_GENMAI | ||
37 | bool "Genmai board" | ||
38 | depends on ARCH_R7S72100 | ||
39 | |||
33 | config MACH_KOELSCH | 40 | config MACH_KOELSCH |
34 | bool "Koelsch board" | 41 | bool "Koelsch board" |
35 | depends on ARCH_R8A7791 | 42 | depends on ARCH_R8A7791 |
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile index d2b8342ea242..1c131046dec6 100644 --- a/arch/arm/mach-shmobile/Makefile +++ b/arch/arm/mach-shmobile/Makefile | |||
@@ -56,6 +56,7 @@ obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o | |||
56 | 56 | ||
57 | # Board objects | 57 | # Board objects |
58 | ifdef CONFIG_ARCH_SHMOBILE_MULTI | 58 | ifdef CONFIG_ARCH_SHMOBILE_MULTI |
59 | obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o | ||
59 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o | 60 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o |
60 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o | 61 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d-reference.o |
61 | else | 62 | else |
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c index 34c98819cf12..7630c1053e32 100644 --- a/arch/arm/mach-shmobile/board-genmai-reference.c +++ b/arch/arm/mach-shmobile/board-genmai-reference.c | |||
@@ -18,6 +18,7 @@ | |||
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/clk-provider.h> | ||
21 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
22 | #include <linux/of_platform.h> | 23 | #include <linux/of_platform.h> |
23 | #include <mach/common.h> | 24 | #include <mach/common.h> |
@@ -27,7 +28,11 @@ | |||
27 | 28 | ||
28 | static void __init genmai_add_standard_devices(void) | 29 | static void __init genmai_add_standard_devices(void) |
29 | { | 30 | { |
31 | #ifdef CONFIG_COMMON_CLK | ||
32 | of_clk_init(NULL); | ||
33 | #else | ||
30 | r7s72100_clock_init(); | 34 | r7s72100_clock_init(); |
35 | #endif | ||
31 | r7s72100_add_dt_devices(); | 36 | r7s72100_add_dt_devices(); |
32 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 37 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
33 | } | 38 | } |