diff options
author | Tom Rini <trini@konsulko.com> | 2015-11-13 10:04:34 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-13 10:04:34 -0500 |
commit | 618a51e9aefe1e03f498ea48bfab70a0b2c9be39 (patch) | |
tree | 565050bbf77d0d7f5d041bf490c3b6f8c83f6319 /arch/sparc/cpu/leon3/interrupts.c | |
parent | b67dfc5a1099eef2a323de23a78ba4e6d9b87633 (diff) | |
parent | e43ce3fca755d79635899b658a97f3c4a7dbf220 (diff) | |
download | u-boot-imx-618a51e9aefe1e03f498ea48bfab70a0b2c9be39.zip u-boot-imx-618a51e9aefe1e03f498ea48bfab70a0b2c9be39.tar.gz u-boot-imx-618a51e9aefe1e03f498ea48bfab70a0b2c9be39.tar.bz2 |
Merge branch 'series1_v2' of git://git.denx.de/u-boot-sparc
Diffstat (limited to 'arch/sparc/cpu/leon3/interrupts.c')
-rw-r--r-- | arch/sparc/cpu/leon3/interrupts.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/cpu/leon3/interrupts.c b/arch/sparc/cpu/leon3/interrupts.c index a834aa0..2312b58 100644 --- a/arch/sparc/cpu/leon3/interrupts.c +++ b/arch/sparc/cpu/leon3/interrupts.c @@ -23,6 +23,8 @@ #include <asm/leon.h> #include <ambapp.h> +#include <grlib/irqmp.h> +#include <grlib/gptimer.h> /* 15 normal irqs and a non maskable interrupt */ #define NR_IRQS 15 @@ -125,9 +127,8 @@ int interrupt_init_cpu(void) /* Handle Timer 0 IRQ */ void timer_interrupt_cpu(void *arg) { - gptimer->e[0].ctrl = (LEON3_GPTIMER_EN | - LEON3_GPTIMER_RL | - LEON3_GPTIMER_LD | LEON3_GPTIMER_IRQEN); + gptimer->e[0].ctrl = (GPTIMER_CTRL_EN | GPTIMER_CTRL_RS | + GPTIMER_CTRL_LD | GPTIMER_CTRL_IE); /* nothing to do here */ return; } |