diff options
author | Valentine Barshak <vbarshak@ru.mvista.com> | 2008-07-09 14:02:34 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-08-04 21:42:06 -0400 |
commit | 1c5402ba55e809f0b685f07728794ea27b197f33 (patch) | |
tree | ae27d2691d4fdd6a904ac6d3ed1ef9cf413c8e80 /arch | |
parent | 2e1e9212ed8c532c6b324de77d3cafef5d2bc846 (diff) |
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 e55746b824b4..89ecd76127d8 100644 --- a/arch/powerpc/platforms/44x/warp-nand.c +++ b/arch/powerpc/platforms/44x/warp-nand.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | static struct resource warp_ndfc = { | 25 | static struct resource warp_ndfc = { |
26 | .start = WARP_NAND_FLASH_REG_ADDR, | 26 | .start = WARP_NAND_FLASH_REG_ADDR, |
27 | .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE, | 27 | .end = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE - 1, |
28 | .flags = IORESOURCE_MEM, | 28 | .flags = IORESOURCE_MEM, |
29 | }; | 29 | }; |
30 | 30 | ||