Skip to content

Commit

Permalink
ARM: plat-orion: add reg offset to DT irq driver stub
Browse files Browse the repository at this point in the history
With irqchip driver for Orion SoCs, reg layout of orion-intc has changed.
This updates irq driver stub implemented before to the new reg layout by
adding an offset to the base address passed by DT node. As orion5x still
uses this stub, it cannot be removed yet.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Sebastian Hesselbarth authored and Jason Cooper committed Jul 25, 2013
1 parent fd509ed commit fa8c5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-orion/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static int __init orion_add_irq_domain(struct device_node *np,
do {
base = of_iomap(np, i);
if (base) {
orion_irq_init(i * 32, base);
orion_irq_init(i * 32, base + 0x04);
i++;
}
} while (base);
Expand Down

0 comments on commit fa8c5a8

Please sign in to comment.