]> err.no Git - linux-2.6/commit
[ARM] Orion: add a separate BRIDGE_INT_TIMER1_CLR define
authorKe Wei <kewei@marvell.com>
Fri, 23 May 2008 08:23:22 +0000 (10:23 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 22 Jun 2008 20:45:01 +0000 (22:45 +0200)
commit1219715de70956557b9dedf3ee021a73d4f4ec52
tree8d778c742bb7e5a0f087e8f8f88a210da6f0125a
parentab6d15d50637fc25ee941710b23fed09ceb28db3
[ARM] Orion: add a separate BRIDGE_INT_TIMER1_CLR define

Some Feroceon-based SoCs have an MBUS bridge interrupt controller
that requires writing a one instead of a zero to clear edge
interrupt sources such as timer expiry.

This patch adds a new BRIDGE_INT_TIMER1_CLR define, which platform
code can set to either ~BRIDGE_INT_TIMER1 (write-zero-to-clear) or
BRIDGE_INT_TIMER1 (write-one-to-clear) depending on the platform.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
arch/arm/plat-orion/time.c
include/asm-arm/arch-orion5x/orion5x.h