|
|
@@ -23,7 +23,7 @@ Signed-off-by: Axel Gembe <[email protected]>
|
|
|
.width = 2,
|
|
|
--- a/drivers/mtd/parsers/redboot.c
|
|
|
+++ b/drivers/mtd/parsers/redboot.c
|
|
|
-@@ -79,6 +79,7 @@ static int parse_redboot_partitions(stru
|
|
|
+@@ -84,6 +84,7 @@ static int parse_redboot_partitions(stru
|
|
|
int nulllen = 0;
|
|
|
int numslots;
|
|
|
unsigned long offset;
|
|
|
@@ -31,7 +31,7 @@ Signed-off-by: Axel Gembe <[email protected]>
|
|
|
#ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED
|
|
|
static char nullstring[] = "unallocated";
|
|
|
#endif
|
|
|
-@@ -185,6 +186,16 @@ static int parse_redboot_partitions(stru
|
|
|
+@@ -190,6 +191,16 @@ static int parse_redboot_partitions(stru
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
@@ -48,7 +48,7 @@ Signed-off-by: Axel Gembe <[email protected]>
|
|
|
for (i = 0; i < numslots; i++) {
|
|
|
struct fis_list *new_fl, **prev;
|
|
|
|
|
|
-@@ -205,10 +216,10 @@ static int parse_redboot_partitions(stru
|
|
|
+@@ -210,10 +221,10 @@ static int parse_redboot_partitions(stru
|
|
|
goto out;
|
|
|
}
|
|
|
new_fl->img = &buf[i];
|