Searched refs:ar7_parts (Results 1 – 1 of 1) sorted by relevance
56 struct mtd_partition *ar7_parts; in create_mtd_partitions() local58 ar7_parts = kzalloc(sizeof(*ar7_parts) * AR7_PARTS, GFP_KERNEL); in create_mtd_partitions()59 if (!ar7_parts) in create_mtd_partitions()61 ar7_parts[0].name = "loader"; in create_mtd_partitions()62 ar7_parts[0].offset = 0; in create_mtd_partitions()63 ar7_parts[0].size = master->erasesize; in create_mtd_partitions()64 ar7_parts[0].mask_flags = MTD_WRITEABLE; in create_mtd_partitions()66 ar7_parts[1].name = "config"; in create_mtd_partitions()67 ar7_parts[1].offset = 0; in create_mtd_partitions()68 ar7_parts[1].size = master->erasesize; in create_mtd_partitions()[all …]