[ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 22 Mar 2006 20:14:11 +0000 (20:14 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Mar 2006 20:14:11 +0000 (20:14 +0000)
commit709eb502ebcfcca8a3a36bab3bca3bd78caa53b1
treeb907252f28ea024f5b41da265a7c6d1417197780
parente99053e07514e514611167ad648c65c87982c4d9
[ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check

Patch from Lennert Buytenhek

On the IXDP2x00s, the NPU that is PCI master is always the egress
(i.e. 'master') NPU.  At least on the IXDP2800, both NPUs have flash,
so the ixp2000_has_flash() check in ixdp2x00_master_npu() is useless.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp2000/ixdp2x00.h