diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/board-qi_lb60.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/board-qi_lb60.c index 9f463b818..48654ed18 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/board-qi_lb60.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/board-qi_lb60.c @@ -58,11 +58,7 @@ static struct mtd_partition qi_lb60_partitions_1gb[] = { }, { .name = "NAND ROOTFS partition", .offset = 8 * 0x100000, - .size = 504 * 0x100000, - }, - { .name = "NAND DATA partition", - .offset = 512 * 0x100000, - .size = 512 * 0x100000, + .size = (504 + 512) * 0x100000, }, }; @@ -96,11 +92,7 @@ static struct mtd_partition qi_lb60_partitions_2gb[] = { }, { .name = "NAND ROOTFS partition", .offset = 8 * 0x100000, - .size = 504 * 0x100000, - }, - { .name = "NAND DATA partition", - .offset = 512 * 0x100000, - .size = (512 + 1024) * 0x100000, + .size = (504 + 512 + 1024) * 0x100000, }, };