aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-g4evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/board-g4evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-g4evm.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c
index 4ba2a79fb180..46d757d2759d 100644
--- a/arch/arm/mach-shmobile/board-g4evm.c
+++ b/arch/arm/mach-shmobile/board-g4evm.c
@@ -38,7 +38,6 @@
38#include <mach/common.h> 38#include <mach/common.h>
39#include <asm/mach-types.h> 39#include <asm/mach-types.h>
40#include <asm/mach/arch.h> 40#include <asm/mach/arch.h>
41#include <asm/mach/time.h>
42 41
43/* 42/*
44 * SDHI 43 * SDHI
@@ -375,21 +374,11 @@ static void __init g4evm_init(void)
375 platform_add_devices(g4evm_devices, ARRAY_SIZE(g4evm_devices)); 374 platform_add_devices(g4evm_devices, ARRAY_SIZE(g4evm_devices));
376} 375}
377 376
378static void __init g4evm_timer_init(void)
379{
380 sh7377_clock_init();
381 shmobile_timer.init();
382}
383
384static struct sys_timer g4evm_timer = {
385 .init = g4evm_timer_init,
386};
387
388MACHINE_START(G4EVM, "g4evm") 377MACHINE_START(G4EVM, "g4evm")
389 .map_io = sh7377_map_io, 378 .map_io = sh7377_map_io,
390 .init_early = sh7377_add_early_devices, 379 .init_early = sh7377_add_early_devices,
391 .init_irq = sh7377_init_irq, 380 .init_irq = sh7377_init_irq,
392 .handle_irq = shmobile_handle_irq_intc, 381 .handle_irq = shmobile_handle_irq_intc,
393 .init_machine = g4evm_init, 382 .init_machine = g4evm_init,
394 .timer = &g4evm_timer, 383 .timer = &shmobile_timer,
395MACHINE_END 384MACHINE_END