Skip to content

Commit

Permalink
powerpc/44x: Adjust warp-nand resource end address
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Valentine Barshak authored and Josh Boyer committed Aug 5, 2008
1 parent 2e1e921 commit 1c5402b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/warp-nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 1c5402b

Please sign in to comment.