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
nexedi
linux
Commits
73f4388a
Commit
73f4388a
authored
Nov 06, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email 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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
arch/mips/gt64120/common/time.c
arch/mips/gt64120/common/time.c
+1
-1
arch/mips/gt64120/ev64120/setup.c
arch/mips/gt64120/ev64120/setup.c
+0
-2
arch/mips/gt64120/momenco_ocelot/setup.c
arch/mips/gt64120/momenco_ocelot/setup.c
+0
-3
No files found.
arch/mips/gt64120/common/time.c
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
;
...
...
arch/mips/gt64120/ev64120/setup.c
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
);
}
...
...
arch/mips/gt64120/momenco_ocelot/setup.c
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
;
...
...
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