Commit 562ca1e3 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Russell King

[ARM] 3663/1: fix resource->end off-by-one thinko during physmap conversion

Patch from Lennert Buytenhek
Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 02c42931
...@@ -30,7 +30,7 @@ static struct physmap_flash_data gesbc9312_flash_data = { ...@@ -30,7 +30,7 @@ static struct physmap_flash_data gesbc9312_flash_data = {
static struct resource gesbc9312_flash_resource = { static struct resource gesbc9312_flash_resource = {
.start = 0x60000000, .start = 0x60000000,
.end = 0x60800000, .end = 0x607fffff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
...@@ -118,7 +118,7 @@ static struct physmap_flash_data ts72xx_flash_data = { ...@@ -118,7 +118,7 @@ static struct physmap_flash_data ts72xx_flash_data = {
static struct resource ts72xx_flash_resource = { static struct resource ts72xx_flash_resource = {
.start = TS72XX_NOR_PHYS_BASE, .start = TS72XX_NOR_PHYS_BASE,
.end = TS72XX_NOR_PHYS_BASE + 0x01000000, .end = TS72XX_NOR_PHYS_BASE + 0x00ffffff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
...@@ -59,7 +59,7 @@ static struct physmap_flash_data espresso_flash_data = { ...@@ -59,7 +59,7 @@ static struct physmap_flash_data espresso_flash_data = {
static struct resource espresso_flash_resource = { static struct resource espresso_flash_resource = {
.start = 0x90000000, .start = 0x90000000,
.end = 0x92000000, .end = 0x91ffffff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
...@@ -304,7 +304,7 @@ static struct physmap_flash_data ixdp2351_flash_data = { ...@@ -304,7 +304,7 @@ static struct physmap_flash_data ixdp2351_flash_data = {
static struct resource ixdp2351_flash_resource = { static struct resource ixdp2351_flash_resource = {
.start = 0x90000000, .start = 0x90000000,
.end = 0x94000000, .end = 0x93ffffff,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
......
...@@ -143,7 +143,7 @@ static struct physmap_flash_data roadrunner_flash_data = { ...@@ -143,7 +143,7 @@ static struct physmap_flash_data roadrunner_flash_data = {
static struct resource roadrunner_flash_resource = { static struct resource roadrunner_flash_resource = {
.start = 0x90000000, .start = 0x90000000,
.end = 0x94000000, .end = 0x93ffffff,
.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