summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Patel2015-02-09 18:23:03 +0530
committerSrikant Patnaik2015-02-09 18:33:09 +0530
commitaadf438d03463b8c3457dbb92f758bdf16678e92 (patch)
tree01c7c12817c1501cd1276ed82b0940fdac538c92
parent3ee768c90b9bb9f0838425c152c955832c826a60 (diff)
downloadFOSSEE-netbook-kernel-source-aadf438d03463b8c3457dbb92f758bdf16678e92.tar.gz
FOSSEE-netbook-kernel-source-aadf438d03463b8c3457dbb92f758bdf16678e92.tar.bz2
FOSSEE-netbook-kernel-source-aadf438d03463b8c3457dbb92f758bdf16678e92.zip
Add swap and reserved partition in NAND
Signed-off-by: Manish Patel <manish.patel@volansystech.com>
-rwxr-xr-xdrivers/mtd/nand/wmt_nand.c14
1 files changed, 12 insertions, 2 deletions
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
};
@@ -416,9 +416,19 @@ struct mtd_partition nand_partitions[] = {
.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,
}
};