rb532: add support for 4.9
[openwrt/staging/chunkeey.git] / target / linux / rb532 / patches-4.9 / 004-rb532-fix-partition-info.patch
1 --- a/arch/mips/rb532/devices.c
2 +++ b/arch/mips/rb532/devices.c
3 @@ -186,11 +186,11 @@ static struct platform_device nand_slot0
4
5 static struct mtd_partition rb532_partition_info[] = {
6 {
7 - .name = "Routerboard NAND boot",
8 + .name = "kernel",
9 .offset = 0,
10 - .size = 4 * 1024 * 1024,
11 + .size = 8 * 1024 * 1024,
12 }, {
13 - .name = "rootfs",
14 + .name = "ubi",
15 .offset = MTDPART_OFS_NXTBLK,
16 .size = MTDPART_SIZ_FULL,
17 }