From: Krzysztof Hałasa Date: Tue, 28 Apr 2009 12:52:23 +0000 (+0200) Subject: IXP42x: add NPE support for IXP425 rev. A0 processors. X-Git-Tag: v2.6.31-rc1~344^2~28^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61a5ccc85a98f5eced89a3fda19b0ee708535c1b;p=karo-tx-linux.git IXP42x: add NPE support for IXP425 rev. A0 processors. Signed-off-by: Krzysztof Hałasa --- 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) /* 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));