IXP42x: add NPE support for IXP425 rev. A0 processors.
authorKrzysztof Hałasa <khc@pm.waw.pl>
Tue, 28 Apr 2009 12:52:23 +0000 (14:52 +0200)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Sat, 23 May 2009 21:16:23 +0000 (23:16 +0200)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/ixp4xx_npe.c

index 7bb8e77..47ac69c 100644 (file)
@@ -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));