nios2: Split timer code into timer.c
authorThomas Chou <thomas@wytron.com.tw>
Thu, 8 Oct 2015 13:23:37 +0000 (21:23 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:28:50 +0000 (07:28 +0800)
commite6500f86a6ddac4c4a2cfcbd517283665563ef70
tree869ac9f26fd1722ff6ac3b4cb5bcb507c5353591
parentfea7f3aa3e5644b702be15d9076fe7b4b73db668
nios2: Split timer code into timer.c

Move the timer code from interrupts.c into timer.c . Eliminate the
installation of timer interrupt handler, which is no longer used.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/cpu/Makefile
arch/nios2/cpu/interrupts.c
arch/nios2/cpu/timer.c [new file with mode: 0644]
include/configs/nios2-generic.h