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
df038a2e
Commit
df038a2e
authored
Jul 17, 2003
by
Miles Bader
Committed by
Linus Torvalds
Jul 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Update AS85EP1 port on v850
parent
ae51f84c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
arch/v850/kernel/as85ep1.c
arch/v850/kernel/as85ep1.c
+2
-4
include/asm-v850/as85ep1.h
include/asm-v850/as85ep1.h
+2
-4
No files found.
arch/v850/kernel/as85ep1.c
View file @
df038a2e
...
...
@@ -98,8 +98,6 @@ void __init mach_setup (char **cmdline)
AS85EP1_PORT_PMC
(
LEDS_PORT
)
=
0
;
/* Make the LEDs port an I/O port. */
AS85EP1_PORT_PM
(
LEDS_PORT
)
=
0
;
/* Make all the bits output pins. */
mach_tick
=
as85ep1_led_tick
;
ROOT_DEV
=
MKDEV
(
BLKMEM_MAJOR
,
0
);
}
void
__init
mach_get_physical_ram
(
unsigned
long
*
ram_start
,
...
...
@@ -133,10 +131,10 @@ void __init mach_reserve_bootmem ()
root_fs_image_end
-
root_fs_image_start
);
}
void
mach_gettimeofday
(
struct
time
val
*
tv
)
void
mach_gettimeofday
(
struct
time
spec
*
tv
)
{
tv
->
tv_sec
=
0
;
tv
->
tv_
u
sec
=
0
;
tv
->
tv_
n
sec
=
0
;
}
void
__init
mach_sched_init
(
struct
irqaction
*
timer_action
)
...
...
include/asm-v850/as85ep1.h
View file @
df038a2e
...
...
@@ -14,8 +14,9 @@
#ifndef __V850_AS85EP1_H__
#define __V850_AS85EP1_H__
#include <asm/v850e.h>
#define CPU_ARCH "v850e"
#define CPU_MODEL "as85ep1"
#define CPU_MODEL_LONG "NEC V850E/AS85EP1"
#define PLATFORM "AS85EP1"
...
...
@@ -86,9 +87,6 @@
#define AS85EP1_PORT_PMC(n) (*(volatile u8 *)AS85EP1_PORT_PMC_ADDR(n))
/* NB85E-style interrupt system. */
#include <asm/nb85e_intc.h>
/* Hardware-specific interrupt numbers (in the kernel IRQ namespace). */
#define IRQ_INTCCC(n) (0x0C + (n))
#define IRQ_INTCCC_NUM 8
...
...
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