summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/clock-r8a7790.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-09-12 00:32:49 (GMT)
committerSimon Horman <horms+renesas@verge.net.au>2013-10-08 00:52:25 (GMT)
commit50c517d92eac08b352ccf4b25c93a53947bb855e (patch)
tree910deb67009ee8c630bd9d73c6c6f960a1298638 /arch/arm/mach-shmobile/clock-r8a7790.c
parentb9b28f5254d792d7ebe35f5314fe11a36174270d (diff)
downloadlinux-50c517d92eac08b352ccf4b25c93a53947bb855e.tar.xz
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/clock-r8a7790.c')
-rw-r--r--arch/arm/mach-shmobile/clock-r8a7790.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c
index 7661e89..a64f965 100644
--- a/arch/arm/mach-shmobile/clock-r8a7790.c
+++ b/arch/arm/mach-shmobile/clock-r8a7790.c
@@ -310,7 +310,7 @@ static struct clk_lookup lookups[] = {
void __init r8a7790_clock_init(void)
{
- u32 mode = r8a7790_read_mode_pins();
+ u32 mode = rcar_gen2_read_mode_pins();
int k, ret = 0;
switch (mode & (MD(14) | MD(13))) {