ARM: shmobile: use r8a7790 timer setup code on Lager
Magnus Damm [Mon, 8 Apr 2013 01:23:37 +0000 (10:23 +0900)]
Use the r8a7790 timer init function on Lager
to make sure the architected timer is started
regardless of boot loader setting.

Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

arch/arm/mach-shmobile/board-lager.c

index ea6f9e5..f587187 100644 (file)
@@ -40,7 +40,7 @@ static const char *lager_boards_compat_dt[] __initdata = {
 
 DT_MACHINE_START(LAGER_DT, "lager")
        .init_irq       = irqchip_init,
-       .init_time      = shmobile_timer_init,
+       .init_time      = r8a7790_timer_init,
        .init_machine   = lager_add_standard_devices,
        .dt_compat      = lager_boards_compat_dt,
 MACHINE_END