Thread (37 messages) 37 messages, 8 authors, 2013-05-24

Re: [RFC 2/8] ARM:global_timer: Add ARM global timer support.

From: Arnd Bergmann <arnd@arndb.de>
Date: 2013-05-09 14:51:34
Also in: linux-arm-kernel, linux-serial, lkml

On Thursday 09 May 2013, Srinivas KANDAGATLA wrote:
quoted
quoted
diff --git a/arch/arm/include/asm/global_timer.h b/arch/arm/include/asm/global_timer.h
new file mode 100644
index 0000000..46f9188
--- /dev/null
+++ b/arch/arm/include/asm/global_timer.h
@@ -0,0 +1,12 @@
+int __init global_timer_init(void __iomem *base, unsigned int timer_irq);
I don't see a need to call this from platform code for non-DT platforms, it
can easily be used with CLOCKSOURCE_OF_DECLARE() all the time I think.
sorry Am confused here.
How would this work for non-DT?
It won't.
Looking at the code in clocksource_of_init it just goes through the
of_device_id table, which is not used in case of non-DT.
All new platforms are DT-only, and none of the old platforms use this
driver, so it does not matter.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help