ARM: davinci: remove legacy timer support
All platforms have now been switched to the new clocksource driver. Remove the old code and various no longer needed bits and pieces. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:

committed by
Sekhar Nori

parent
20eb43540b
commit
6b49d4fbcb
@@ -17,7 +17,6 @@
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/cputype.h>
|
||||
#include <mach/mux.h>
|
||||
#include <mach/time.h>
|
||||
|
||||
#include "davinci.h"
|
||||
#include "irqs.h"
|
||||
@@ -303,21 +302,3 @@ int davinci_gpio_register(struct resource *res, int size, void *pdata)
|
||||
davinci_gpio_device.dev.platform_data = pdata;
|
||||
return platform_device_register(&davinci_gpio_device);
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
struct davinci_timer_instance davinci_timer_instance[2] = {
|
||||
{
|
||||
.base = DAVINCI_TIMER0_BASE,
|
||||
.bottom_irq = DAVINCI_INTC_IRQ(IRQ_TINT0_TINT12),
|
||||
.top_irq = DAVINCI_INTC_IRQ(IRQ_TINT0_TINT34),
|
||||
},
|
||||
{
|
||||
.base = DAVINCI_TIMER1_BASE,
|
||||
.bottom_irq = DAVINCI_INTC_IRQ(IRQ_TINT1_TINT12),
|
||||
.top_irq = DAVINCI_INTC_IRQ(IRQ_TINT1_TINT34),
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user