ARM: architected timers: add DT support
Add runtime DT support and documentation for the Cortex A7/A15 architected timers. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
@@ -10,12 +10,18 @@ struct arch_timer {
|
||||
#ifdef CONFIG_ARM_ARCH_TIMER
|
||||
int arch_timer_register(struct arch_timer *);
|
||||
int arch_timer_sched_clock_init(void);
|
||||
int arch_timer_of_register(void);
|
||||
#else
|
||||
static inline int arch_timer_register(struct arch_timer *at)
|
||||
{
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
static inline int arch_timer_of_register(void)
|
||||
{
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
static inline int arch_timer_sched_clock_init(void)
|
||||
{
|
||||
return -ENXIO;
|
||||
|
Reference in New Issue
Block a user