mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
[ARM] 3752/1: fix versatile flash resource map
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>
This commit is contained in:
parent
574dc0abab
commit
a0c5a64552
@ -285,7 +285,7 @@ static struct flash_platform_data versatile_flash_data = {
|
|||||||
|
|
||||||
static struct resource versatile_flash_resource = {
|
static struct resource versatile_flash_resource = {
|
||||||
.start = VERSATILE_FLASH_BASE,
|
.start = VERSATILE_FLASH_BASE,
|
||||||
.end = VERSATILE_FLASH_BASE + VERSATILE_FLASH_SIZE,
|
.end = VERSATILE_FLASH_BASE + VERSATILE_FLASH_SIZE - 1,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user