ARM: vexpress: remove sp804 OF init
authorRob Herring <rob.herring@calxeda.com>
Thu, 7 Feb 2013 03:18:31 +0000 (21:18 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 11 Apr 2013 20:11:18 +0000 (15:11 -0500)
Remove the vexpress specific setup for the sp804 timer now that
clocksource_of_init will do it.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
arch/arm/mach-vexpress/v2m.c

index 621571781b200378a094a1b36c27975ee1b39470..cdc29d895ab099fa3b51055997821101666905b5 100644 (file)
@@ -431,20 +431,9 @@ void __init v2m_dt_init_early(void)
 
 static void __init v2m_dt_timer_init(void)
 {
-       struct device_node *node = NULL;
-
        vexpress_clk_of_init();
 
        clocksource_of_init();
-       do {
-               node = of_find_compatible_node(node, NULL, "arm,sp804");
-       } while (node && vexpress_get_site_by_node(node) != VEXPRESS_SITE_MB);
-       if (node) {
-               pr_info("Using SP804 '%s' as a clock & events source\n",
-                               node->full_name);
-               v2m_sp804_init(of_iomap(node, 0),
-                               irq_of_parse_and_map(node, 0));
-       }
 
        versatile_sched_clock_init(vexpress_get_24mhz_clock_base(),
                                24000000);