Skip to content

Commit

Permalink
[ARM] 3752/1: fix versatile flash resource map
Browse files Browse the repository at this point in the history
Patch from Yoav Steinberg

Flash resource mapping for versatile machine included one extra byte for the end address. This results in failure to map other resources on physical address directly after the NOR flash.

Signed-off-by: Yoav Steinberg <yoav@monfort.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Yoav Steinberg authored and Russell King committed Aug 13, 2006
1 parent 574dc0a commit a0c5a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-versatile/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ static struct flash_platform_data versatile_flash_data = {

static struct resource versatile_flash_resource = {
.start = VERSATILE_FLASH_BASE,
.end = VERSATILE_FLASH_BASE + VERSATILE_FLASH_SIZE,
.end = VERSATILE_FLASH_BASE + VERSATILE_FLASH_SIZE - 1,
.flags = IORESOURCE_MEM,
};

Expand Down

0 comments on commit a0c5a64

Please sign in to comment.