PowerPC 44x: Adjust warp-nand resource end address
Subsystems (2)
PATCH 1/1 PowerPC 44x: Adjust warp-nand resource end address
Adjust the NDFC resource end value (resource size = end - start + 1).
Signed-off-by Valentine Barshak <[email protected]>
--- arch/powerpc/platforms/44x/warp-nand.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/44x/warp-nand.c +1 -1
@@ -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 , };