Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
R128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ermine
R128
Commits
73f4388a
Commit
73f4388a
authored
18 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
[MIPS] Fix EV64120 and Ocelot builds by providing a plat_timer_setup().
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4e5852f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/mips/gt64120/common/time.c
+1
-1
1 addition, 1 deletion
arch/mips/gt64120/common/time.c
arch/mips/gt64120/ev64120/setup.c
+0
-2
0 additions, 2 deletions
arch/mips/gt64120/ev64120/setup.c
arch/mips/gt64120/momenco_ocelot/setup.c
+0
-3
0 additions, 3 deletions
arch/mips/gt64120/momenco_ocelot/setup.c
with
1 addition
and
6 deletions
arch/mips/gt64120/common/time.c
+
1
−
1
View file @
73f4388a
...
...
@@ -64,7 +64,7 @@ static irqreturn_t gt64120_irq(int irq, void *dev_id)
* as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt
* handling.
*/
void
gt64120_time_init
(
void
)
void
__init
plat_timer_setup
(
struct
irqaction
*
irq
)
{
static
struct
irqaction
timer
;
...
...
This diff is collapsed.
Click to expand it.
arch/mips/gt64120/ev64120/setup.c
+
0
−
2
View file @
73f4388a
...
...
@@ -68,7 +68,6 @@ unsigned long __init prom_free_prom_memory(void)
* Initializes basic routines and structures pointers, memory size (as
* given by the bios and saves the command line.
*/
extern
void
gt64120_time_init
(
void
);
void
__init
plat_mem_setup
(
void
)
{
...
...
@@ -76,7 +75,6 @@ void __init plat_mem_setup(void)
_machine_halt
=
galileo_machine_halt
;
pm_power_off
=
galileo_machine_power_off
;
board_time_init
=
gt64120_time_init
;
set_io_port_base
(
KSEG1
);
}
...
...
This diff is collapsed.
Click to expand it.
arch/mips/gt64120/momenco_ocelot/setup.c
+
0
−
3
View file @
73f4388a
...
...
@@ -70,7 +70,6 @@ extern void momenco_ocelot_restart(char *command);
extern
void
momenco_ocelot_halt
(
void
);
extern
void
momenco_ocelot_power_off
(
void
);
extern
void
gt64120_time_init
(
void
);
extern
void
momenco_ocelot_irq_setup
(
void
);
static
char
reset_reason
;
...
...
@@ -156,8 +155,6 @@ void __init plat_mem_setup(void)
void
(
*
l3func
)(
unsigned
long
)
=
KSEG1ADDR
(
&
setup_l3cache
);
unsigned
int
tmpword
;
board_time_init
=
gt64120_time_init
;
_machine_restart
=
momenco_ocelot_restart
;
_machine_halt
=
momenco_ocelot_halt
;
pm_power_off
=
momenco_ocelot_power_off
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment