diff options
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/map.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-s3c/include/plat/map-base.h | 8 |
2 files changed, 9 insertions, 3 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 | ||
diff --git a/arch/arm/plat-s3c/include/plat/map-base.h b/arch/arm/plat-s3c/include/plat/map-base.h index b84289d32a54..250be311c85b 100644 --- a/arch/arm/plat-s3c/include/plat/map-base.h +++ b/arch/arm/plat-s3c/include/plat/map-base.h | |||
@@ -32,9 +32,15 @@ | |||
32 | 32 | ||
33 | #define S3C_VA_IRQ S3C_ADDR(0x00000000) /* irq controller(s) */ | 33 | #define S3C_VA_IRQ S3C_ADDR(0x00000000) /* irq controller(s) */ |
34 | #define S3C_VA_SYS S3C_ADDR(0x00100000) /* system control */ | 34 | #define S3C_VA_SYS S3C_ADDR(0x00100000) /* system control */ |
35 | #define S3C_VA_MEM S3C_ADDR(0x00200000) /* system control */ | 35 | #define S3C_VA_MEM S3C_ADDR(0x00200000) /* memory control */ |
36 | #define S3C_VA_TIMER S3C_ADDR(0x00300000) /* timer block */ | 36 | #define S3C_VA_TIMER S3C_ADDR(0x00300000) /* timer block */ |
37 | #define S3C_VA_WATCHDOG S3C_ADDR(0x00400000) /* watchdog */ | 37 | #define S3C_VA_WATCHDOG S3C_ADDR(0x00400000) /* watchdog */ |
38 | #define S3C_VA_UART S3C_ADDR(0x01000000) /* UART */ | 38 | #define S3C_VA_UART S3C_ADDR(0x01000000) /* UART */ |
39 | 39 | ||
40 | /* This is used for the CPU specific mappings that may be needed, so that | ||
41 | * they do not need to directly used S3C_ADDR() and thus make it easier to | ||
42 | * modify the space for mapping. | ||
43 | */ | ||
44 | #define S3C_ADDR_CPU(x) S3C_ADDR(0x00500000 + (x)) | ||
45 | |||
40 | #endif /* __ASM_PLAT_MAP_H */ | 46 | #endif /* __ASM_PLAT_MAP_H */ |