diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-07-30 18:23:35 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-07-30 18:22:54 -0400 |
commit | e13cf03eaae3792442c401860910d40f33c89a33 (patch) | |
tree | 958c4b0eff64ebf6c850bacf1949d0dbddc2a356 /arch/arm/mach-s3c6400/include/mach/map.h | |
parent | 78ddb2785980fc01b129c3547463266cae9c6ca9 (diff) |
ARM: S3C: Update CPU register mapping practices.
Currently map-base.h defines the main virtual address mappings made
for all the support S3C SoC series, but does not then define any base
for per-cpu mappings to be made from.
Add S3C_ADDR_CPU() macro to define an virtual address as an offset
from the last of the core mappings.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6400/include/mach/map.h')
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/map.h b/arch/arm/mach-s3c6400/include/mach/map.h index 5057d9948d35..e02e6c38a396 100644 --- a/arch/arm/mach-s3c6400/include/mach/map.h +++ b/arch/arm/mach-s3c6400/include/mach/map.h | |||
@@ -49,7 +49,7 @@ | |||
49 | #define S3C64XX_PA_IIC1 (0x7F00F000) | 49 | #define S3C64XX_PA_IIC1 (0x7F00F000) |
50 | 50 | ||
51 | #define S3C64XX_PA_GPIO (0x7F008000) | 51 | #define S3C64XX_PA_GPIO (0x7F008000) |
52 | #define S3C64XX_VA_GPIO S3C_ADDR(0x00500000) | 52 | #define S3C64XX_VA_GPIO S3C_ADDR_CPU(0x00000000) |
53 | #define S3C64XX_SZ_GPIO SZ_4K | 53 | #define S3C64XX_SZ_GPIO SZ_4K |
54 | 54 | ||
55 | #define S3C64XX_PA_SDRAM (0x50000000) | 55 | #define S3C64XX_PA_SDRAM (0x50000000) |
@@ -57,7 +57,7 @@ | |||
57 | #define S3C64XX_PA_VIC1 (0x71300000) | 57 | #define S3C64XX_PA_VIC1 (0x71300000) |
58 | 58 | ||
59 | #define S3C64XX_PA_MODEM (0x74108000) | 59 | #define S3C64XX_PA_MODEM (0x74108000) |
60 | #define S3C64XX_VA_MODEM S3C_ADDR(0x00600000) | 60 | #define S3C64XX_VA_MODEM S3C_ADDR_CPU(0x00100000) |
61 | 61 | ||
62 | #define S3C64XX_PA_USBHOST (0x74300000) | 62 | #define S3C64XX_PA_USBHOST (0x74300000) |
63 | 63 | ||