projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcb483
)
[MTD] redboot partition combined fis / config problem
author
Yoshinori Sato
<ysato@users.sourceforge.jp>
Fri, 1 Dec 2006 10:01:50 +0000
(10:01 +0000)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 1 Dec 2006 10:01:50 +0000
(10:01 +0000)
Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
really.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/redboot.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/redboot.c
b/drivers/mtd/redboot.c
index 4b277211e27ba48755670cb4d07d2124039145c5..b5259215f6d7f1ffe97ac9cc8edfe8dd1b90d18e 100644
(file)
--- a/
drivers/mtd/redboot.c
+++ b/
drivers/mtd/redboot.c
@@
-110,6
+110,9
@@
static int parse_redboot_partitions(struct mtd_info *master,
}
}
break;
+ } else {
+ /* re-calculate of real numslots */
+ numslots = buf[i].size / sizeof(struct fis_image_desc);
}
}
if (i == numslots) {