Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
61a5ccc8
Commit
61a5ccc8
authored
Apr 28, 2009
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IXP42x: add NPE support for IXP425 rev. A0 processors.
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
8a4fe824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
arch/arm/mach-ixp4xx/ixp4xx_npe.c
arch/arm/mach-ixp4xx/ixp4xx_npe.c
+0
-9
No files found.
arch/arm/mach-ixp4xx/ixp4xx_npe.c
View file @
61a5ccc8
...
@@ -386,15 +386,6 @@ static int npe_reset(struct npe *npe)
...
@@ -386,15 +386,6 @@ static int npe_reset(struct npe *npe)
/* reset the NPE */
/* reset the NPE */
ixp4xx_write_feature_bits
(
val
&
ixp4xx_write_feature_bits
(
val
&
~
(
IXP4XX_FEATURE_RESET_NPEA
<<
npe
->
id
));
~
(
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 */
/* deassert reset */
ixp4xx_write_feature_bits
(
val
|
ixp4xx_write_feature_bits
(
val
|
(
IXP4XX_FEATURE_RESET_NPEA
<<
npe
->
id
));
(
IXP4XX_FEATURE_RESET_NPEA
<<
npe
->
id
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment