diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-07-16 09:40:14 +0700 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-07-16 09:40:14 +0700 |
commit | c9d0445ec4df2a1b5dbad9ddc89957c866e25b08 (patch) | |
tree | d03060cb3edfba1129372b66387d3ccbe2256723 /drivers/mtd/onenand | |
parent | 54d09f24d823eb43d58b66a5fd8c5105192877bb (diff) | |
download | kernel_samsung_aries-c9d0445ec4df2a1b5dbad9ddc89957c866e25b08.zip kernel_samsung_aries-c9d0445ec4df2a1b5dbad9ddc89957c866e25b08.tar.gz kernel_samsung_aries-c9d0445ec4df2a1b5dbad9ddc89957c866e25b08.tar.bz2 |
aries: new mtd layout
Remove datadata to expand system and cache
Change-Id: I6d021562ed022a7ec12d3ddba07f1de04f693f82
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/samsung_fascinate.h | 11 | ||||
-rw-r--r-- | drivers/mtd/onenand/samsung_gsm.h | 11 |
2 files changed, 6 insertions, 16 deletions
diff --git a/drivers/mtd/onenand/samsung_fascinate.h b/drivers/mtd/onenand/samsung_fascinate.h index ca8446d..dd3592c 100644 --- a/drivers/mtd/onenand/samsung_fascinate.h +++ b/drivers/mtd/onenand/samsung_fascinate.h @@ -42,17 +42,12 @@ struct mtd_partition s3c_partition_info[] = { { .name = "system", .offset = (132*SZ_256K), - .size = (1000*SZ_256K), //1131 + .size = (1518*SZ_256K), //1649 }, { .name = "cache", - .offset = (1132*SZ_256K), - .size = (240*SZ_256K), //1371 - }, - { - .name = "datadata", - .offset = (1372*SZ_256K), - .size = (632*SZ_256K), //2003 + .offset = (1650*SZ_256K), + .size = (353*SZ_256K), //2003 }, { /* The reservoir area is used by Samsung's Block Management Layer (BML) to map good blocks from this reservoir to bad blocks in user diff --git a/drivers/mtd/onenand/samsung_gsm.h b/drivers/mtd/onenand/samsung_gsm.h index 4b2268f..a37fd7e 100644 --- a/drivers/mtd/onenand/samsung_gsm.h +++ b/drivers/mtd/onenand/samsung_gsm.h @@ -42,12 +42,12 @@ struct mtd_partition s3c_partition_info[] = { { .name = "system", .offset = (132*SZ_256K), - .size = (1000*SZ_256K), //1131 + .size = (1518*SZ_256K), //1649 }, { .name = "cache", - .offset = (1132*SZ_256K), - .size = (70*SZ_256K), //1201 + .offset = (1650*SZ_256K), + .size = (240*SZ_256K), //1889 }, { /* we should consider moving this before the modem at the end that would allow us to change the partitions before without @@ -63,11 +63,6 @@ struct mtd_partition s3c_partition_info[] = { .offset = (1940*SZ_256K), .size = (64*SZ_256K), //2003 }, - { - .name = "datadata", - .offset = (1202*SZ_256K), - .size = (688*SZ_256K), //1889 - }, { /* The reservoir area is used by Samsung's Block Management Layer (BML) to map good blocks from this reservoir to bad blocks in user partitions. A special tool (bml_over_mtd) is needed to write |