Browse Source

sh: Use physical addresses for sh7722 USBF resources

Use physical addresses and change resource name to follow data sheet.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Magnus Damm 17 năm trước cách đây
mục cha
commit
a0d29798e5
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      arch/sh/kernel/cpu/sh4a/setup-sh7722.c

+ 3 - 4
arch/sh/kernel/cpu/sh4a/setup-sh7722.c

@@ -16,13 +16,12 @@
 
 static struct resource usbf_resources[] = {
 	[0] = {
-		.name	= "m66592_udc",
-		.start	= 0xA4480000,
-		.end	= 0xA44800FF,
+		.name	= "USBF",
+		.start	= 0x04480000,
+		.end	= 0x044800FF,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
-		.name	= "m66592_udc",
 		.start	= 65,
 		.end	= 65,
 		.flags	= IORESOURCE_IRQ,