ramips: improve systick timer
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:27:09 +0000 (10:27 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:27:09 +0000 (10:27 +0000)
commit07406c1e7ad05a982e55ac140d52adf88b4f8a4a
treea8b23e6ac4cfadcae82a7575af0df29623dd7c7a
parentaed12db82426967761e14108a66dd66e69b1f341
ramips: improve systick timer

when sleep mode is disable use MIPS as clocksource and clockevent instead of systick.
because MIPS timer has higher resolution 5ns less than systick 20us and
larger counter bits 32 > 16.
clean interrupt by write compare register at isr.
fix typo cause sleep mode not enable.

Signed-off-by: Michael Lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47122 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/patches-3.18/0066-cevt.patch