[PATCH] Fix MPC8349 USB memory mapping

Li Yang-r58472 LeoLi at freescale.com
Thu Aug 4 18:47:50 EST 2005


Hi,

The memory mappings for MPC8349 USB MPH and DR modules were reversed.

Signed-off-by: Li Yang <LeoLi at freescale.com>
Signed-off-by: Jiang Bo <Tanya.jiang at freescale.com>

---

--- arch/ppc/syslib/mpc83xx_devices.c.orig	2005-08-04 16:37:20.000000000 +0800
+++ arch/ppc/syslib/mpc83xx_devices.c	2005-08-04 16:38:25.000000000 +0800
@@ -191,8 +191,8 @@ struct platform_device ppc_sys_platform_
 		.num_resources	 = 2,
 		.resource = (struct resource[]) {
 			{
-				.start	= 0x22000,
-				.end	= 0x22fff,
+				.start	= 0x23000,
+				.end	= 0x23fff,
 				.flags	= IORESOURCE_MEM,
 			},
 			{
@@ -208,8 +208,8 @@ struct platform_device ppc_sys_platform_
 		.num_resources	 = 2,
 		.resource = (struct resource[]) {
 			{
-				.start	= 0x23000,
-				.end	= 0x23fff,
+				.start	= 0x22000,
+				.end	= 0x22fff,
 				.flags	= IORESOURCE_MEM,
 			},
 			{

--
Leo Li
Freescale Semiconductor
 
LeoLi at freescale.com 
 




More information about the Linuxppc-embedded mailing list