Commit 78dc4c20 authored by Kalle Pokki's avatar Kalle Pokki Committed by Paul Mackerras

[POWERPC] 8xx: Off-by-one fixes to SCC parameter RAM definitions

The SCC parameter RAM areas are mapped wrong in MPC8xx device descriptions. All
memory areas overlap with the next one, so that I2C, SPI, SMC1 and SMC2 cannot
be enabled if the four SCCs are.
Signed-off-by: default avatarKalle Pokki <kalle.pokki@iki.fi>
Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent adaa3a79
...@@ -78,7 +78,7 @@ struct platform_device ppc_sys_platform_devices[] = { ...@@ -78,7 +78,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{ {
.name = "pram", .name = "pram",
.start = 0x3c00, .start = 0x3c00,
.end = 0x3c80, .end = 0x3c7f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
{ {
...@@ -103,7 +103,7 @@ struct platform_device ppc_sys_platform_devices[] = { ...@@ -103,7 +103,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{ {
.name = "pram", .name = "pram",
.start = 0x3d00, .start = 0x3d00,
.end = 0x3d80, .end = 0x3d7f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
...@@ -129,7 +129,7 @@ struct platform_device ppc_sys_platform_devices[] = { ...@@ -129,7 +129,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{ {
.name = "pram", .name = "pram",
.start = 0x3e00, .start = 0x3e00,
.end = 0x3e80, .end = 0x3e7f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
...@@ -155,7 +155,7 @@ struct platform_device ppc_sys_platform_devices[] = { ...@@ -155,7 +155,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{ {
.name = "pram", .name = "pram",
.start = 0x3f00, .start = 0x3f00,
.end = 0x3f80, .end = 0x3f7f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
......
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