OpenWrt
/branches/18.06.1/target/linux/brcm63xx/patches-4.9/400-bcm963xx_flashmap.patch |
@@ -23,7 +23,7 @@ |
.width = 2, |
--- a/drivers/mtd/redboot.c |
+++ b/drivers/mtd/redboot.c |
@@ -73,6 +73,7 @@ static int parse_redboot_partitions(stru |
@@ -72,6 +72,7 @@ static int parse_redboot_partitions(stru |
int nulllen = 0; |
int numslots; |
unsigned long offset; |
@@ -31,7 +31,7 @@ |
#ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED |
static char nullstring[] = "unallocated"; |
#endif |
@@ -177,6 +178,16 @@ static int parse_redboot_partitions(stru |
@@ -176,6 +177,16 @@ static int parse_redboot_partitions(stru |
goto out; |
} |
|
@@ -48,7 +48,7 @@ |
for (i = 0; i < numslots; i++) { |
struct fis_list *new_fl, **prev; |
|
@@ -197,10 +208,10 @@ static int parse_redboot_partitions(stru |
@@ -196,10 +207,10 @@ static int parse_redboot_partitions(stru |
goto out; |
} |
new_fl->img = &buf[i]; |