diff options
author | Magnus Damm <damm@opensource.se> | 2013-10-01 04:12:48 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-10-07 20:29:16 -0400 |
commit | ca1e6f22a0ab5ae6ec2114993a23d5814f0799c7 (patch) | |
tree | 3067b226082dfcbf72390906b18639d0b014000a /arch/arm/mach-shmobile | |
parent | 1e4953d817712e52616d9a40460435eb8881d32d (diff) |
ARM: shmobile: r8a7791 Arch timer workaround
Make use of the R-Car Gen2 arch timer workaround on r8a7791.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7791.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile index 6b7a02ee8b93..3c37e8271dfe 100644 --- a/arch/arm/mach-shmobile/Makefile +++ b/arch/arm/mach-shmobile/Makefile | |||
@@ -16,7 +16,7 @@ obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o | |||
16 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o | 16 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o |
17 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o | 17 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o |
18 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o setup-rcar-gen2.o | 18 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o setup-rcar-gen2.o |
19 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o | 19 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o setup-rcar-gen2.o |
20 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o | 20 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
21 | 21 | ||
22 | # Clock objects | 22 | # Clock objects |
diff --git a/arch/arm/mach-shmobile/setup-r8a7791.c b/arch/arm/mach-shmobile/setup-r8a7791.c index ba4fa3edf44f..cb3859b4cc95 100644 --- a/arch/arm/mach-shmobile/setup-r8a7791.c +++ b/arch/arm/mach-shmobile/setup-r8a7791.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <mach/common.h> | 28 | #include <mach/common.h> |
29 | #include <mach/irqs.h> | 29 | #include <mach/irqs.h> |
30 | #include <mach/r8a7791.h> | 30 | #include <mach/r8a7791.h> |
31 | #include <mach/rcar-gen2.h> | ||
31 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
32 | 33 | ||
33 | #define SCIF_COMMON(scif_type, baseaddr, irq) \ | 34 | #define SCIF_COMMON(scif_type, baseaddr, irq) \ |
@@ -176,6 +177,7 @@ static const char *r8a7791_boards_compat_dt[] __initdata = { | |||
176 | 177 | ||
177 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") | 178 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") |
178 | .init_early = r8a7791_init_early, | 179 | .init_early = r8a7791_init_early, |
180 | .init_time = rcar_gen2_timer_init, | ||
179 | .dt_compat = r8a7791_boards_compat_dt, | 181 | .dt_compat = r8a7791_boards_compat_dt, |
180 | MACHINE_END | 182 | MACHINE_END |
181 | #endif /* CONFIG_USE_OF */ | 183 | #endif /* CONFIG_USE_OF */ |