Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/arch/arm/mach-msm/nand_partitions.c b/arch/arm/mach-msm/nand_partitions.c
- index d448aed..49cf108 100644
- --- a/arch/arm/mach-msm/nand_partitions.c
- +++ b/arch/arm/mach-msm/nand_partitions.c
- @@ -74,6 +74,21 @@ static int __init parse_tag_msm_partition(const struct tag *tag)
- ptn->offset = entry->offset;
- ptn->size = entry->size;
- + if (!strcmp(name, "userdata")){
- + ptn->offset = 0xb01;
- + ptn->size = 0x3f8;
- + }
- + else if (!strcmp(name, "system"))
- + {
- + ptn->offset = 0x201;
- + ptn->size = 0x8d8;
- + }
- + else if (!strcmp(name, "cache"))
- + {
- + ptn->offset = 0xad9;
- + ptn->size = 0x28;
- + }
- +
- printk(KERN_INFO "Partition (from atag) %s "
- "-- Offset:%llx Size:%llx\n",
- ptn->name, ptn->offset, ptn->size);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement