Commit 23196a42 authored by Maurus Cuelenaere's avatar Maurus Cuelenaere Committed by Ben Dooks

ARM: S3C64XX: fix USB OTG compilation

This adds the S3C_VA_USB_HSPHY mapping.
Signed-off-by: default avatarMaurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent e9c08f0d
...@@ -64,6 +64,9 @@ ...@@ -64,6 +64,9 @@
#define S3C64XX_PA_USBHOST (0x74300000) #define S3C64XX_PA_USBHOST (0x74300000)
#define S3C64XX_PA_USB_HSPHY (0x7C100000)
#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000)
/* place VICs close together */ /* place VICs close together */
#define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00) #define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00)
#define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000) #define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000)
...@@ -79,5 +82,6 @@ ...@@ -79,5 +82,6 @@
#define S3C_PA_FB S3C64XX_PA_FB #define S3C_PA_FB S3C64XX_PA_FB
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST #define S3C_PA_USBHOST S3C64XX_PA_USBHOST
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG #define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
#endif /* __ASM_ARCH_6400_MAP_H */ #endif /* __ASM_ARCH_6400_MAP_H */
...@@ -107,6 +107,11 @@ static struct map_desc s3c_iodesc[] __initdata = { ...@@ -107,6 +107,11 @@ static struct map_desc s3c_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG), .pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG),
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, {
.virtual = (unsigned long)S3C_VA_USB_HSPHY,
.pfn = __phys_to_pfn(S3C64XX_PA_USB_HSPHY),
.length = SZ_1K,
.type = MT_DEVICE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment