summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2009-04-28 14:52:23 +0200
committerKrzysztof Hałasa <khc@pm.waw.pl>2009-05-23 23:16:23 +0200
commit61a5ccc85a98f5eced89a3fda19b0ee708535c1b (patch)
treeabf9212d4064838cf74545d91659bcdf244a8a88 /arch
parent8a4fe82497a52b6da45b5b3179cce7dd6a28a532 (diff)
downloadlinux-3.10-61a5ccc85a98f5eced89a3fda19b0ee708535c1b.tar.gz
linux-3.10-61a5ccc85a98f5eced89a3fda19b0ee708535c1b.tar.bz2
linux-3.10-61a5ccc85a98f5eced89a3fda19b0ee708535c1b.zip
IXP42x: add NPE support for IXP425 rev. A0 processors.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ixp4xx/ixp4xx_npe.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_npe.c b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
index 7bb8e778e4b..47ac69c7ec7 100644
--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
@@ -386,15 +386,6 @@ static int npe_reset(struct npe *npe)
/* reset the NPE */
ixp4xx_write_feature_bits(val &
~(IXP4XX_FEATURE_RESET_NPEA << npe->id));
- for (i = 0; i < MAX_RETRIES; i++) {
- if (!(ixp4xx_read_feature_bits() &
- (IXP4XX_FEATURE_RESET_NPEA << npe->id)))
- break; /* reset completed */
- udelay(1);
- }
- if (i == MAX_RETRIES)
- return -ETIMEDOUT;
-
/* deassert reset */
ixp4xx_write_feature_bits(val |
(IXP4XX_FEATURE_RESET_NPEA << npe->id));