diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 621571781b20..cdc29d895ab0 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
@@ -431,20 +431,9 @@ void __init v2m_dt_init_early(void) | |||
431 | 431 | ||
432 | static void __init v2m_dt_timer_init(void) | 432 | static void __init v2m_dt_timer_init(void) |
433 | { | 433 | { |
434 | struct device_node *node = NULL; | ||
435 | |||
436 | vexpress_clk_of_init(); | 434 | vexpress_clk_of_init(); |
437 | 435 | ||
438 | clocksource_of_init(); | 436 | clocksource_of_init(); |
439 | do { | ||
440 | node = of_find_compatible_node(node, NULL, "arm,sp804"); | ||
441 | } while (node && vexpress_get_site_by_node(node) != VEXPRESS_SITE_MB); | ||
442 | if (node) { | ||
443 | pr_info("Using SP804 '%s' as a clock & events source\n", | ||
444 | node->full_name); | ||
445 | v2m_sp804_init(of_iomap(node, 0), | ||
446 | irq_of_parse_and_map(node, 0)); | ||
447 | } | ||
448 | 437 | ||
449 | versatile_sched_clock_init(vexpress_get_24mhz_clock_base(), | 438 | versatile_sched_clock_init(vexpress_get_24mhz_clock_base(), |
450 | 24000000); | 439 | 24000000); |