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
898e810e
Commit
898e810e
authored
Oct 06, 2009
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: h3600: provide each iPAQ machine type with own init function
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
7a5b4e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
arch/arm/mach-sa1100/h3600.c
arch/arm/mach-sa1100/h3600.c
+12
-2
No files found.
arch/arm/mach-sa1100/h3600.c
View file @
898e810e
...
@@ -321,6 +321,11 @@ static void __init h3100_map_io(void)
...
@@ -321,6 +321,11 @@ static void __init h3100_map_io(void)
assign_h3600_egpio
=
h3100_control_egpio
;
assign_h3600_egpio
=
h3100_control_egpio
;
}
}
static
void
h3100_mach_init
(
void
)
{
h3xxx_mach_init
();
}
MACHINE_START
(
H3100
,
"Compaq iPAQ H3100"
)
MACHINE_START
(
H3100
,
"Compaq iPAQ H3100"
)
.
phys_io
=
0x80000000
,
.
phys_io
=
0x80000000
,
.
io_pg_offst
=
((
0xf8000000
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
((
0xf8000000
)
>>
18
)
&
0xfffc
,
...
@@ -328,7 +333,7 @@ MACHINE_START(H3100, "Compaq iPAQ H3100")
...
@@ -328,7 +333,7 @@ MACHINE_START(H3100, "Compaq iPAQ H3100")
.
map_io
=
h3100_map_io
,
.
map_io
=
h3100_map_io
,
.
init_irq
=
sa1100_init_irq
,
.
init_irq
=
sa1100_init_irq
,
.
timer
=
&
sa1100_timer
,
.
timer
=
&
sa1100_timer
,
.
init_machine
=
h3
xxx
_mach_init
,
.
init_machine
=
h3
100
_mach_init
,
MACHINE_END
MACHINE_END
#endif
/* CONFIG_SA1100_H3100 */
#endif
/* CONFIG_SA1100_H3100 */
...
@@ -418,6 +423,11 @@ static void __init h3600_map_io(void)
...
@@ -418,6 +423,11 @@ static void __init h3600_map_io(void)
assign_h3600_egpio
=
h3600_control_egpio
;
assign_h3600_egpio
=
h3600_control_egpio
;
}
}
static
void
h3600_mach_init
(
void
)
{
h3xxx_mach_init
();
}
MACHINE_START
(
H3600
,
"Compaq iPAQ H3600"
)
MACHINE_START
(
H3600
,
"Compaq iPAQ H3600"
)
.
phys_io
=
0x80000000
,
.
phys_io
=
0x80000000
,
.
io_pg_offst
=
((
0xf8000000
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
((
0xf8000000
)
>>
18
)
&
0xfffc
,
...
@@ -425,7 +435,7 @@ MACHINE_START(H3600, "Compaq iPAQ H3600")
...
@@ -425,7 +435,7 @@ MACHINE_START(H3600, "Compaq iPAQ H3600")
.
map_io
=
h3600_map_io
,
.
map_io
=
h3600_map_io
,
.
init_irq
=
sa1100_init_irq
,
.
init_irq
=
sa1100_init_irq
,
.
timer
=
&
sa1100_timer
,
.
timer
=
&
sa1100_timer
,
.
init_machine
=
h3
xxx
_mach_init
,
.
init_machine
=
h3
600
_mach_init
,
MACHINE_END
MACHINE_END
#endif
/* CONFIG_SA1100_H3600 */
#endif
/* CONFIG_SA1100_H3600 */
...
...
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