Skip to content

Commit

Permalink
[POWERPC] 8xx: Off-by-one fixes to SCC parameter RAM definitions
Browse files Browse the repository at this point in the history
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: Kalle Pokki <kalle.pokki@iki.fi>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Kalle Pokki authored and Paul Mackerras committed Dec 4, 2006
1 parent adaa3a7 commit 78dc4c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/ppc/syslib/mpc8xx_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{
.name = "pram",
.start = 0x3c00,
.end = 0x3c80,
.end = 0x3c7f,
.flags = IORESOURCE_MEM,
},
{
Expand All @@ -103,7 +103,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{
.name = "pram",
.start = 0x3d00,
.end = 0x3d80,
.end = 0x3d7f,
.flags = IORESOURCE_MEM,
},

Expand All @@ -129,7 +129,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{
.name = "pram",
.start = 0x3e00,
.end = 0x3e80,
.end = 0x3e7f,
.flags = IORESOURCE_MEM,
},

Expand All @@ -155,7 +155,7 @@ struct platform_device ppc_sys_platform_devices[] = {
{
.name = "pram",
.start = 0x3f00,
.end = 0x3f80,
.end = 0x3f7f,
.flags = IORESOURCE_MEM,
},

Expand Down

0 comments on commit 78dc4c2

Please sign in to comment.