ARM: shmobile: r7s72100 Genmai Multiplatform
authorMagnus Damm <damm@opensource.se>
Wed, 6 Nov 2013 23:31:25 +0000 (08:31 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:24:25 +0000 (17:24 +0900)
Add r7s72100 Genmai to SHMOBILE_MULTI.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/Makefile
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/board-genmai-reference.c

index b17de79696e3cf24e7aadb6c62b81592f6dd69b0..5ef42fca1db062ad6c10e9b13fbe17dadb67f938 100644 (file)
@@ -234,6 +234,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += emev2-kzm9d.dtb \
        r8a73a4-ape6evm-reference.dtb \
        sh7372-mackerel.dtb
 dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
+       r7s72100-genmai-reference.dtb \
        r8a7791-koelsch-reference.dtb
 dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
        socfpga_cyclone5_socdk.dtb \
index 8bc7308903848f2c589d0ed9e3e523acf0cc2deb..bb0837b8c05c68c1106c7a1860bb9ea34287aa43 100644 (file)
@@ -24,12 +24,19 @@ comment "SH-Mobile System Type"
 config ARCH_EMEV2
        bool "Emma Mobile EV2"
 
+config ARCH_R7S72100
+       bool "RZ/A1H (R7S72100)"
+
 config ARCH_R8A7791
        bool "R-Car M2 (R8A77910)"
        select RENESAS_IRQC
 
 comment "SH-Mobile Board Type"
 
+config MACH_GENMAI
+       bool "Genmai board"
+       depends on ARCH_R7S72100
+
 config MACH_KOELSCH
        bool "Koelsch board"
        depends on ARCH_R8A7791
index d2b8342ea2425a44b4a52577bfe18f887894eddf..1c131046dec634ca92b0f61a99def17cdc7362ca 100644 (file)
@@ -56,6 +56,7 @@ obj-$(CONFIG_ARCH_R8A7779)    += pm-r8a7779.o
 
 # Board objects
 ifdef CONFIG_ARCH_SHMOBILE_MULTI
+obj-$(CONFIG_MACH_GENMAI)      += board-genmai-reference.o
 obj-$(CONFIG_MACH_KOELSCH)     += board-koelsch-reference.o
 obj-$(CONFIG_MACH_KZM9D)       += board-kzm9d-reference.o
 else
index 34c98819cf1246a4cd51cf01dd12fe0b339bf6f1..7630c1053e32aa3dabce1a7e66b021690d6b4d26 100644 (file)
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <linux/clk-provider.h>
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
 #include <mach/common.h>
 
 static void __init genmai_add_standard_devices(void)
 {
+#ifdef CONFIG_COMMON_CLK
+       of_clk_init(NULL);
+#else
        r7s72100_clock_init();
+#endif
        r7s72100_add_dt_devices();
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 }
This page took 0.027469 seconds and 5 git commands to generate.