From aadf438d03463b8c3457dbb92f758bdf16678e92 Mon Sep 17 00:00:00 2001 From: Manish Patel Date: Mon, 9 Feb 2015 18:23:03 +0530 Subject: Add swap and reserved partition in NAND Signed-off-by: Manish Patel --- drivers/mtd/nand/wmt_nand.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'drivers/mtd') diff --git a/drivers/mtd/nand/wmt_nand.c b/drivers/mtd/nand/wmt_nand.c index 0fa2bde0..d7ef14f5 100755 --- a/drivers/mtd/nand/wmt_nand.c +++ b/drivers/mtd/nand/wmt_nand.c @@ -397,7 +397,7 @@ struct mtd_partition nand_partitions[] = { { .name = "ubuntu-rootfs", .offset = MTDPART_OFS_APPEND, - .size = MTDPART_SIZ_FULL, + .size = MTDPART_SIZ_FULL, } #endif }; @@ -415,10 +415,20 @@ struct mtd_partition nand_partitions[] = { .offset = MTDPART_OFS_APPEND, .size = 0x1000000, }, + { + .name = "swap", + .offset = MTDPART_OFS_APPEND, + .size = 0x19000000, + }, + { + .name = "reserved", + .offset = MTDPART_OFS_APPEND, + .size = 0x6400000, + }, { .name = "ubuntu-rootfs", .offset = MTDPART_OFS_APPEND, - .size = MTDPART_SIZ_FULL, + .size = MTDPART_SIZ_FULL, } }; -- cgit