microblaze: Added fdt chosen capability for timer
authorMichal Simek <monstr@monstr.eu>
Mon, 12 Dec 2011 13:02:47 +0000 (14:02 +0100)
committerMichal Simek <monstr@monstr.eu>
Thu, 4 Oct 2012 12:29:15 +0000 (14:29 +0200)
commit88d23b4462c9c9b8c8876d60f5b57d39b53c6227
tree42a10487a2d7b1ab182c2098894ecee178fb169b
parent9998517a2789850e4e48bad6ada4de1f6c5a760d
microblaze: Added fdt chosen capability for timer

This lets a dts author flag a particular timer in the system as the system timer.
If the chosen node contains a "system-timer=<&foo>" entry than that handle will
be used to determine the system timer. In no such entry exists then the first
found timer will be used (current behaviour).

Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/timer.c