kernel: make bcm47xxpart work with TRX flashed at bad block(s)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48061
This commit is contained in:
Rafał Miłecki
2016-01-02 00:33:48 +00:00
parent 224984ca01
commit 7bede46e58
9 changed files with 306 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
#include <uapi/linux/magic.h>
@@ -131,6 +132,17 @@ static int bcm47xxpart_parse(struct mtd_
@@ -159,6 +160,17 @@ static int bcm47xxpart_parse(struct mtd_
break;
}

View File

@@ -12,7 +12,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
--- a/drivers/mtd/bcm47xxpart.c
+++ b/drivers/mtd/bcm47xxpart.c
@@ -66,19 +66,22 @@ static void bcm47xxpart_add_part(struct
@@ -94,19 +94,22 @@ static size_t bcm47xxpart_real_offset(st
static const char *bcm47xxpart_trx_data_part_name(struct mtd_info *master,
size_t offset)
{

View File

@@ -22,7 +22,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
#include <uapi/linux/magic.h>
@@ -131,6 +132,17 @@ static int bcm47xxpart_parse(struct mtd_
@@ -159,6 +160,17 @@ static int bcm47xxpart_parse(struct mtd_
break;
}