summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files/drivers/mtd/ar7part.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar7/files/drivers/mtd/ar7part.c')
-rw-r--r--target/linux/ar7/files/drivers/mtd/ar7part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/drivers/mtd/ar7part.c b/target/linux/ar7/files/drivers/mtd/ar7part.c
index b8c0ed0..aa2508f 100644
--- a/target/linux/ar7/files/drivers/mtd/ar7part.c
+++ b/target/linux/ar7/files/drivers/mtd/ar7part.c
@@ -59,7 +59,7 @@ static int create_mtd_partitions(struct mtd_info *master,
ar7_parts[1].size = master->erasesize;
ar7_parts[1].mask_flags = 0;
- do {
+ do { /* Try 10 blocks starting from master->erasesize */
offset = pre_size;
master->read(master, offset,
sizeof(header), &len, (u_char *)&header);