diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-11-20 07:04:08 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-11-30 20:35:39 -0500 |
commit | 23196a42a691012ac9710677f711bb6dca0a1cde (patch) | |
tree | 0ce4dd3687758544e77c907a168550427ebb33a6 /arch/arm | |
parent | e9c08f0d5737a988e735f7371bc0bffb343c485c (diff) |
ARM: S3C64XX: fix USB OTG compilation
This adds the S3C_VA_USB_HSPHY mapping.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/map.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/cpu.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/map.h b/arch/arm/mach-s3c6400/include/mach/map.h index fc8b223bad4f..f3b48f841d84 100644 --- a/arch/arm/mach-s3c6400/include/mach/map.h +++ b/arch/arm/mach-s3c6400/include/mach/map.h | |||
@@ -64,6 +64,9 @@ | |||
64 | 64 | ||
65 | #define S3C64XX_PA_USBHOST (0x74300000) | 65 | #define S3C64XX_PA_USBHOST (0x74300000) |
66 | 66 | ||
67 | #define S3C64XX_PA_USB_HSPHY (0x7C100000) | ||
68 | #define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000) | ||
69 | |||
67 | /* place VICs close together */ | 70 | /* place VICs close together */ |
68 | #define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00) | 71 | #define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00) |
69 | #define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000) | 72 | #define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000) |
@@ -79,5 +82,6 @@ | |||
79 | #define S3C_PA_FB S3C64XX_PA_FB | 82 | #define S3C_PA_FB S3C64XX_PA_FB |
80 | #define S3C_PA_USBHOST S3C64XX_PA_USBHOST | 83 | #define S3C_PA_USBHOST S3C64XX_PA_USBHOST |
81 | #define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG | 84 | #define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG |
85 | #define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY | ||
82 | 86 | ||
83 | #endif /* __ASM_ARCH_6400_MAP_H */ | 87 | #endif /* __ASM_ARCH_6400_MAP_H */ |
diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c index b1fdd83940a6..49796d2db86d 100644 --- a/arch/arm/plat-s3c64xx/cpu.c +++ b/arch/arm/plat-s3c64xx/cpu.c | |||
@@ -107,6 +107,11 @@ static struct map_desc s3c_iodesc[] __initdata = { | |||
107 | .pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG), | 107 | .pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG), |
108 | .length = SZ_4K, | 108 | .length = SZ_4K, |
109 | .type = MT_DEVICE, | 109 | .type = MT_DEVICE, |
110 | }, { | ||
111 | .virtual = (unsigned long)S3C_VA_USB_HSPHY, | ||
112 | .pfn = __phys_to_pfn(S3C64XX_PA_USB_HSPHY), | ||
113 | .length = SZ_1K, | ||
114 | .type = MT_DEVICE, | ||
110 | }, | 115 | }, |
111 | }; | 116 | }; |
112 | 117 | ||