
7 Sep
2015
7 Sep
'15
4:10 p.m.
Hi Marek,
On 09/07/2015 08:31 PM, Marek Vasut wrote:
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
arch/nios2/cpu/Makefile | 2 +- arch/nios2/cpu/interrupts.c | 84 +---------------------------------------- arch/nios2/cpu/timer.c | 65 +++++++++++++++++++++++++++++++ include/configs/nios2-generic.h | 3 +- 4 files changed, 68 insertions(+), 86 deletions(-) create mode 100644 arch/nios2/cpu/timer.c
V2: Rebase on top of u-boot/master Zap the CONFIG_SYS_TIMER_IRQ check
Applied to u-boot-nios. Thanks.
Best regards, Thomas Chou