Searched refs:ar7_parts (Results 1 – 1 of 1) sorted by relevance
42 struct mtd_partition *ar7_parts; in create_mtd_partitions() local44 ar7_parts = kcalloc(AR7_PARTS, sizeof(*ar7_parts), GFP_KERNEL); in create_mtd_partitions()45 if (!ar7_parts) in create_mtd_partitions()47 ar7_parts[0].name = "loader"; in create_mtd_partitions()48 ar7_parts[0].offset = 0; in create_mtd_partitions()49 ar7_parts[0].size = master->erasesize; in create_mtd_partitions()50 ar7_parts[0].mask_flags = MTD_WRITEABLE; in create_mtd_partitions()52 ar7_parts[1].name = "config"; in create_mtd_partitions()53 ar7_parts[1].offset = 0; in create_mtd_partitions()54 ar7_parts[1].size = master->erasesize; in create_mtd_partitions()[all …]