Lines Matching refs:bcm947xx_parts
107 static struct mtd_partition bcm947xx_parts[] =
305 return (sizeof(bcm947xx_parts)/sizeof(struct mtd_partition)); /* Bob modified */
657 i = (sizeof(bcm947xx_parts)/sizeof(struct mtd_partition)) - 2;
659 bcm947xx_parts[i].size = ROUNDUP(NVRAM_SPACE, mtd->erasesize);
660 bcm947xx_parts[i].offset = size - bcm947xx_parts[i].size;
665 if (strncmp(bcm947xx_parts[i].name, "board_data", 10) == 0)
666 bcm947xx_parts[i].size = (mtd->erasesize) * 1; /* 64K */
667 else if (strncmp(bcm947xx_parts[i].name, "POT", 3) == 0)
668 bcm947xx_parts[i].size = (mtd->erasesize) * 1; /* 64K */
669 else if (strncmp(bcm947xx_parts[i].name, "T_Meter", 7) == 0)
670 bcm947xx_parts[i].size = (mtd->erasesize) * 1; /* 64K */
671 else if (strncmp(bcm947xx_parts[i].name, "ML", 2) == 0)
672 bcm947xx_parts[i].size = (mtd->erasesize) * 1; /* 64K */
676 __FUNCTION__, bcm947xx_parts[i].name);
680 bcm947xx_parts[i].offset = bcm947xx_parts[i + 1].offset
681 - bcm947xx_parts[i].size;
687 // bcm947xx_parts[0].size = 256 * 1024;
688 bcm947xx_parts[0].size = vmlz_off;
690 // bcm947xx_parts[1].offset = 0;
691 bcm947xx_parts[1].offset = vmlz_off;
693 // bcm947xx_parts[1].size = 0;
694 bcm947xx_parts[1].size = mtd->size - vmlz_off;
696 knl_size = bcm947xx_parts[1].size;
697 // bcm947xx_parts[2].offset = 0;
698 // bcm947xx_parts[2].size = 0;
699 bcm947xx_parts[2].size = knl_size - (rfs_off - vmlz_off);
700 bcm947xx_parts[2].offset = rfs_off;
701 bcm947xx_parts[1].size -= (12*0X10000);
702 bcm947xx_parts[2].size -= (12*0X10000);
714 return bcm947xx_parts;