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
5eca8f3a
Commit
5eca8f3a
authored
Jun 10, 2011
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: ebsa110: provide TRICK?_SIZE macros
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
bcbbf908
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
arch/arm/mach-ebsa110/core.c
arch/arm/mach-ebsa110/core.c
+4
-4
arch/arm/mach-ebsa110/core.h
arch/arm/mach-ebsa110/core.h
+4
-0
No files found.
arch/arm/mach-ebsa110/core.c
View file @
5eca8f3a
...
...
@@ -76,22 +76,22 @@ static struct map_desc ebsa110_io_desc[] __initdata = {
{
/* IRQ_STAT/IRQ_MCLR */
.
virtual
=
IRQ_STAT
,
.
pfn
=
__phys_to_pfn
(
TRICK4_PHYS
),
.
length
=
PGDIR
_SIZE
,
.
length
=
TRICK4
_SIZE
,
.
type
=
MT_DEVICE
},
{
/* IRQ_MASK/IRQ_MSET */
.
virtual
=
IRQ_MASK
,
.
pfn
=
__phys_to_pfn
(
TRICK3_PHYS
),
.
length
=
PGDIR
_SIZE
,
.
length
=
TRICK3
_SIZE
,
.
type
=
MT_DEVICE
},
{
/* SOFT_BASE */
.
virtual
=
SOFT_BASE
,
.
pfn
=
__phys_to_pfn
(
TRICK1_PHYS
),
.
length
=
PGDIR
_SIZE
,
.
length
=
TRICK1
_SIZE
,
.
type
=
MT_DEVICE
},
{
/* PIT_BASE */
.
virtual
=
PIT_BASE
,
.
pfn
=
__phys_to_pfn
(
TRICK0_PHYS
),
.
length
=
PGDIR
_SIZE
,
.
length
=
TRICK0
_SIZE
,
.
type
=
MT_DEVICE
},
...
...
arch/arm/mach-ebsa110/core.h
View file @
5eca8f3a
...
...
@@ -18,10 +18,14 @@
#define ISAIO_SIZE PGDIR_SIZE
#define TRICK0_PHYS 0xf2000000
#define TRICK0_SIZE PGDIR_SIZE
#define TRICK1_PHYS 0xf2400000
#define TRICK1_SIZE PGDIR_SIZE
#define TRICK2_PHYS 0xf2800000
#define TRICK3_PHYS 0xf2c00000
#define TRICK3_SIZE PGDIR_SIZE
#define TRICK4_PHYS 0xf3000000
#define TRICK4_SIZE PGDIR_SIZE
#define TRICK5_PHYS 0xf3400000
#define TRICK6_PHYS 0xf3800000
#define TRICK7_PHYS 0xf3c00000
...
...
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