diff options
author | Manish Patel | 2015-02-09 18:23:03 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-02-09 18:33:09 +0530 |
commit | aadf438d03463b8c3457dbb92f758bdf16678e92 (patch) | |
tree | 01c7c12817c1501cd1276ed82b0940fdac538c92 /drivers | |
parent | 3ee768c90b9bb9f0838425c152c955832c826a60 (diff) | |
download | FOSSEE-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>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mtd/nand/wmt_nand.c | 14 |
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, } }; |