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
64ed267b
Commit
64ed267b
authored
Oct 13, 2010
by
Eric Miao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: pxa: introduce addr-map.h for large bus addresses and ranges
Signed-off-by:
Eric Miao
<
eric.y.miao@gmail.com
>
parent
ead67b6e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
20 deletions
+50
-20
arch/arm/mach-pxa/include/mach/addr-map.h
arch/arm/mach-pxa/include/mach/addr-map.h
+48
-0
arch/arm/mach-pxa/include/mach/hardware.h
arch/arm/mach-pxa/include/mach/hardware.h
+2
-0
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
+0
-11
arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
+0
-9
No files found.
arch/arm/mach-pxa/include/mach/addr-map.h
0 → 100644
View file @
64ed267b
#ifndef __ASM_MACH_ADDR_MAP_H
#define __ASM_MACH_ADDR_MAP_H
/*
* Chip Selects
*/
#define PXA_CS0_PHYS 0x00000000
#define PXA_CS1_PHYS 0x04000000
#define PXA_CS2_PHYS 0x08000000
#define PXA_CS3_PHYS 0x0C000000
#define PXA_CS4_PHYS 0x10000000
#define PXA_CS5_PHYS 0x14000000
#define PXA300_CS0_PHYS 0x00000000
/* PXA300/PXA310 _only_ */
#define PXA300_CS1_PHYS 0x30000000
/* PXA300/PXA310 _only_ */
#define PXA3xx_CS2_PHYS 0x10000000
#define PXA3xx_CS3_PHYS 0x14000000
/*
* Peripheral Bus
*/
#define PERIPH_PHYS 0x40000000
#define PERIPH_VIRT 0xf2000000
#define PERIPH_SIZE 0x02000000
/*
* Static Memory Controller (w/ SDRAM controls on PXA25x/PXA27x)
*/
#define PXA2XX_SMEMC_PHYS 0x48000000
#define PXA3XX_SMEMC_PHYS 0x4a000000
#define SMEMC_VIRT 0xf6000000
#define SMEMC_SIZE 0x00100000
/*
* Dynamic Memory Controller (only on PXA3xx)
*/
#define DMEMC_PHYS 0x48100000
#define DMEMC_VIRT 0xf6100000
#define DMEMC_SIZE 0x00100000
/*
* Internal Memory Controller (PXA27x and later)
*/
#define IMEMC_PHYS 0x58000000
#define IMEMC_VIRT 0xfe000000
#define IMEMC_SIZE 0x00100000
#endif
/* __ASM_MACH_ADDR_MAP_H */
arch/arm/mach-pxa/include/mach/hardware.h
View file @
64ed267b
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
#ifndef __ASM_ARCH_HARDWARE_H
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
#include <mach/addr-map.h>
/*
/*
* Workarounds for at least 2 errata so far require this.
* Workarounds for at least 2 errata so far require this.
* The mapping is set in mach-pxa/generic.c.
* The mapping is set in mach-pxa/generic.c.
...
...
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
View file @
64ed267b
...
@@ -16,17 +16,6 @@
...
@@ -16,17 +16,6 @@
#include <mach/hardware.h>
#include <mach/hardware.h>
/*
* PXA Chip selects
*/
#define PXA_CS0_PHYS 0x00000000
#define PXA_CS1_PHYS 0x04000000
#define PXA_CS2_PHYS 0x08000000
#define PXA_CS3_PHYS 0x0C000000
#define PXA_CS4_PHYS 0x10000000
#define PXA_CS5_PHYS 0x14000000
/*
/*
* Memory controller
* Memory controller
*/
*/
...
...
arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
View file @
64ed267b
...
@@ -15,15 +15,6 @@
...
@@ -15,15 +15,6 @@
#include <mach/hardware.h>
#include <mach/hardware.h>
/*
* Static Chip Selects
*/
#define PXA300_CS0_PHYS (0x00000000)
/* PXA300/PXA310 _only_ */
#define PXA300_CS1_PHYS (0x30000000)
/* PXA300/PXA310 _only_ */
#define PXA3xx_CS2_PHYS (0x10000000)
#define PXA3xx_CS3_PHYS (0x14000000)
/*
/*
* Oscillator Configuration Register (OSCC)
* Oscillator Configuration Register (OSCC)
*/
*/
...
...
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