aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorValentine Barshak <vbarshak@ru.mvista.com>2008-07-09 14:02:34 -0400
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-08-04 21:42:06 -0400
commit1c5402ba55e809f0b685f07728794ea27b197f33 (patch)
treeae27d2691d4fdd6a904ac6d3ed1ef9cf413c8e80 /arch/powerpc
parent2e1e9212ed8c532c6b324de77d3cafef5d2bc846 (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/powerpc')
-rw-r--r--arch/powerpc/platforms/44x/warp-nand.c2
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
25static struct resource warp_ndfc = { 25static 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