IXP42x: add NPE support for IXP425 rev. A0 processors.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, June 14, 2009 - 3:00 pm

Gitweb:     http://git.kernel.org/linus/61a5ccc85a98f5eced89a3fda19b0ee708535c1b
Commit:     61a5ccc85a98f5eced89a3fda19b0ee708535c1b
Parent:     8a4fe82497a52b6da45b5b3179cce7dd6a28a532
Author:     Krzysztof Hałasa <khc@pm.waw.pl>
AuthorDate: Tue Apr 28 14:52:23 2009 +0200
Committer:  Krzysztof Hałasa <khc@pm.waw.pl>
CommitDate: Sat May 23 23:16:23 2009 +0200

    IXP42x: add NPE support for IXP425 rev. A0 processors.
    
    Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
---
 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 7bb8e77..47ac69c 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));
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IXP42x: add NPE support for IXP425 rev. A0 processors., Linux Kernel Mailing ..., (Sun Jun 14, 3:00 pm)