* [PATCH 5/8] S3C64xx: fix USB OTG compilation
@ 2009-11-20 12:04 Maurus Cuelenaere
2009-11-23 21:34 ` Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: Maurus Cuelenaere @ 2009-11-20 12:04 UTC (permalink / raw)
To: linux-arm-kernel
This adds the S3C_VA_USB_HSPHY mapping.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
arch/arm/mach-s3c6400/include/mach/map.h | 4 ++++
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 fc8b223..f3b48f8 100644
--- a/arch/arm/mach-s3c6400/include/mach/map.h
+++ b/arch/arm/mach-s3c6400/include/mach/map.h
@@ -64,6 +64,9 @@
#define S3C64XX_PA_USBHOST (0x74300000)
+#define S3C64XX_PA_USB_HSPHY (0x7C100000)
+#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000)
+
/* place VICs close together */
#define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00)
#define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000)
@@ -79,5 +82,6 @@
#define S3C_PA_FB S3C64XX_PA_FB
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
+#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
#endif /* __ASM_ARCH_6400_MAP_H */
diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c
index b1fdd83..49796d2 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 = {
.pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG),
.length = SZ_4K,
.type = MT_DEVICE,
+ }, {
+ .virtual = (unsigned long)S3C_VA_USB_HSPHY,
+ .pfn = __phys_to_pfn(S3C64XX_PA_USB_HSPHY),
+ .length = SZ_1K,
+ .type = MT_DEVICE,
},
};
--
1.6.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 5/8] S3C64xx: fix USB OTG compilation
2009-11-20 12:04 [PATCH 5/8] S3C64xx: fix USB OTG compilation Maurus Cuelenaere
@ 2009-11-23 21:34 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2009-11-23 21:34 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2009 at 01:04:08PM +0100, Maurus Cuelenaere wrote:
> This adds the S3C_VA_USB_HSPHY mapping.
will apply, not sure whether to try another fixes patch or to
add this to -next.
> Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
> ---
> arch/arm/mach-s3c6400/include/mach/map.h | 4 ++++
> 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 fc8b223..f3b48f8 100644
> --- a/arch/arm/mach-s3c6400/include/mach/map.h
> +++ b/arch/arm/mach-s3c6400/include/mach/map.h
> @@ -64,6 +64,9 @@
>
> #define S3C64XX_PA_USBHOST (0x74300000)
>
> +#define S3C64XX_PA_USB_HSPHY (0x7C100000)
> +#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000)
> +
> /* place VICs close together */
> #define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00)
> #define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000)
> @@ -79,5 +82,6 @@
> #define S3C_PA_FB S3C64XX_PA_FB
> #define S3C_PA_USBHOST S3C64XX_PA_USBHOST
> #define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
> +#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
>
> #endif /* __ASM_ARCH_6400_MAP_H */
> diff --git a/arch/arm/plat-s3c64xx/cpu.c b/arch/arm/plat-s3c64xx/cpu.c
> index b1fdd83..49796d2 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 = {
> .pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG),
> .length = SZ_4K,
> .type = MT_DEVICE,
> + }, {
> + .virtual = (unsigned long)S3C_VA_USB_HSPHY,
> + .pfn = __phys_to_pfn(S3C64XX_PA_USB_HSPHY),
> + .length = SZ_1K,
> + .type = MT_DEVICE,
> },
> };
>
> --
> 1.6.5.3
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-23 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 12:04 [PATCH 5/8] S3C64xx: fix USB OTG compilation Maurus Cuelenaere
2009-11-23 21:34 ` Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).