summaryrefslogtreecommitdiffstats
path: root/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-14 15:37:12 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-14 15:37:12 +0000
commitd88f9818d8ccbcacc74c27a06b08c33f342879de (patch)
tree1c8df0fe59b2c3eb49cd4a6eee5cfc7e400df60f /target/linux/leon/patches/001-find_irq_and_timer_via_of.patch
parentf1b8b6700c54143b44be3a267cd022e3dc035955 (diff)
[leon] refresh patches so they apply cleanly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33406 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch2
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 035543db6..18d7f8bea 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)));