diff options
author | Valentine Barshak <vbarshak@ru.mvista.com> | 2008-07-09 18:02:34 (GMT) |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-08-05 01:42:06 (GMT) |
commit | 1c5402ba55e809f0b685f07728794ea27b197f33 (patch) | |
tree | ae27d2691d4fdd6a904ac6d3ed1ef9cf413c8e80 /arch | |
parent | 2e1e9212ed8c532c6b324de77d3cafef5d2bc846 (diff) | |
download | linux-fsl-qoriq-1c5402ba55e809f0b685f07728794ea27b197f33.tar.xz |
powerpc/44x: Adjust warp-nand resource end address
Adjust the NDFC resource end value (resource size = end - start + 1).
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/44x/warp-nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/warp-nand.c b/arch/powerpc/platforms/44x/warp-nand.c index e55746b..89ecd76 100644 --- a/arch/powerpc/platforms/44x/warp-nand.c +++ b/arch/powerpc/platforms/44x/warp-nand.c @@ -24,7 +24,7 @@ static struct resource warp_ndfc = { .start = WARP_NAND_FLASH_REG_ADDR, - .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE, + .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE - 1, .flags = IORESOURCE_MEM, }; |