projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a4fe82
)
IXP42x: add NPE support for IXP425 rev. A0 processors.
author
Krzysztof Hałasa
<khc@pm.waw.pl>
Tue, 28 Apr 2009 12:52:23 +0000
(14:52 +0200)
committer
Krzysztof 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
index 7bb8e778e4b6eecc286368c90dda2dce0a3d421d..47ac69c7ec7891a6bbbd07765fa264210746df35 100644
(file)
--- 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));