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
722b05a0
Commit
722b05a0
authored
Nov 07, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Alchemy: Fix bunch more warnings.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
25b8ac3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
arch/mips/au1000/common/setup.c
arch/mips/au1000/common/setup.c
+11
-8
No files found.
arch/mips/au1000/common/setup.c
View file @
722b05a0
...
...
@@ -141,17 +141,20 @@ void __init plat_mem_setup(void)
/* This routine should be valid for all Au1x based boards */
phys_t
__fixup_bigphys_addr
(
phys_t
phys_addr
,
phys_t
size
)
{
u32
start
,
end
;
/* Don't fixup 36 bit addresses */
if
((
phys_addr
>>
32
)
!=
0
)
return
phys_addr
;
if
((
phys_addr
>>
32
)
!=
0
)
return
phys_addr
;
#ifdef CONFIG_PCI
{
u32
start
,
end
;
start
=
(
u32
)
Au1500_PCI_MEM_START
;
end
=
(
u32
)
Au1500_PCI_MEM_END
;
/* check for pci memory window */
if
((
phys_addr
>=
start
)
&&
((
phys_addr
+
size
)
<
end
))
{
return
(
phys_t
)((
phys_addr
-
start
)
+
Au1500_PCI_MEM_START
);
if
((
phys_addr
>=
start
)
&&
((
phys_addr
+
size
)
<
end
))
return
(
phys_t
)
((
phys_addr
-
start
)
+
Au1500_PCI_MEM_START
);
}
#endif
...
...
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