microblaze: Support timer on AXI lite
authorMichal Simek <monstr@monstr.eu>
Thu, 7 Oct 2010 07:39:21 +0000 (17:39 +1000)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 Oct 2010 05:52:00 +0000 (15:52 +1000)
commitccea0e6e49e4db8ee7968c183ecddb3e399c5f54
tree387e07bf5e4eed3628c7361cdd7129cc0a31f250
parent02b08045a0306c38131c6d7155c4034a775d40b1
microblaze: Support timer on AXI lite

New microblaze systems uses two buses. One for memories
and flashes and the second for low-speed peripherals
which can run on different CLK. This is the reason
why the kernel is trying to read clock-frequency
directly from node. If there is then the kernel will
work with it. If not then cpu CLK is used.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/cpuinfo.h
arch/microblaze/kernel/timer.c