summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/rcar-gen2.h
diff options
context:
space:
mode:
authorMagnus Damm2013-09-12 02:32:49 +0200
committerSimon Horman2013-10-08 02:52:25 +0200
commit50c517d92eac08b352ccf4b25c93a53947bb855e (patch)
tree910deb67009ee8c630bd9d73c6c6f960a1298638 /arch/arm/mach-shmobile/include/mach/rcar-gen2.h
parentARM: shmobile: r8a73a4: add a clock alias for the DMAC in DT mode (diff)
downloadkernel-qcow2-linux-50c517d92eac08b352ccf4b25c93a53947bb855e.tar.gz
kernel-qcow2-linux-50c517d92eac08b352ccf4b25c93a53947bb855e.tar.xz
kernel-qcow2-linux-50c517d92eac08b352ccf4b25c93a53947bb855e.zip
ARM: shmobile: Break out R-Car Gen2 setup code
Move arch timer workaround code and boot mode pin handling from setup-r8a7790.c to setup-rcar-gen2.c. With this in place the same code can be used on other R-Car Generation 2 devices such as r8a7791. Signed-off-by: Magnus Damm <damm@opensource.se> [horms+renesas@verge.net.au trivial rebase of board-lager.c for introduction of lager_add_standard_devices()] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/rcar-gen2.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/rcar-gen2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/rcar-gen2.h b/arch/arm/mach-shmobile/include/mach/rcar-gen2.h
new file mode 100644
index 000000000000..43f606eb2d82
--- /dev/null
+++ b/arch/arm/mach-shmobile/include/mach/rcar-gen2.h
@@ -0,0 +1,8 @@
+#ifndef __ASM_RCAR_GEN2_H__
+#define __ASM_RCAR_GEN2_H__
+
+void rcar_gen2_timer_init(void);
+#define MD(nr) BIT(nr)
+u32 rcar_gen2_read_mode_pins(void);
+
+#endif /* __ASM_RCAR_GEN2_H__ */