diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-04-28 08:52:23 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-05-23 17:16:23 -0400 |
commit | 61a5ccc85a98f5eced89a3fda19b0ee708535c1b (patch) | |
tree | abf9212d4064838cf74545d91659bcdf244a8a88 /arch/arm/mach-ixp4xx | |
parent | 8a4fe82497a52b6da45b5b3179cce7dd6a28a532 (diff) |
IXP42x: add NPE support for IXP425 rev. A0 processors.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/ixp4xx_npe.c | 9 |
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 7bb8e778e4b6..47ac69c7ec78 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) | |||
386 | /* reset the NPE */ | 386 | /* reset the NPE */ |
387 | ixp4xx_write_feature_bits(val & | 387 | ixp4xx_write_feature_bits(val & |
388 | ~(IXP4XX_FEATURE_RESET_NPEA << npe->id)); | 388 | ~(IXP4XX_FEATURE_RESET_NPEA << npe->id)); |
389 | for (i = 0; i < MAX_RETRIES; i++) { | ||
390 | if (!(ixp4xx_read_feature_bits() & | ||
391 | (IXP4XX_FEATURE_RESET_NPEA << npe->id))) | ||
392 | break; /* reset completed */ | ||
393 | udelay(1); | ||
394 | } | ||
395 | if (i == MAX_RETRIES) | ||
396 | return -ETIMEDOUT; | ||
397 | |||
398 | /* deassert reset */ | 389 | /* deassert reset */ |
399 | ixp4xx_write_feature_bits(val | | 390 | ixp4xx_write_feature_bits(val | |
400 | (IXP4XX_FEATURE_RESET_NPEA << npe->id)); | 391 | (IXP4XX_FEATURE_RESET_NPEA << npe->id)); |