diff options
Diffstat (limited to 'target/linux/leon/patches/001-find_irq_and_timer_via_of.patch')
-rw-r--r-- | target/linux/leon/patches/001-find_irq_and_timer_via_of.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch b/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch index 035543db6d..18d7f8beac 100644 --- a/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch +++ b/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch @@ -45,4 +45,4 @@ Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> + if (leon3_gptimer_regs && leon3_irqctrl_regs && leon3_gptimer_irq) { LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].val, 0); LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].rld, - (((1000000 / 100) - 1))); + (((1000000 / HZ) - 1))); |