Update to the latest version.
Suppressed patch:
100-04-env-add-support-for-generic-MTD-device.patch[1]
[1] 03fb08d4ae
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
19 lines
709 B
Diff
19 lines
709 B
Diff
Force update_cache_variants to use reset for Foresee NAND with bad blocks
|
|
|
|
Tested on Xiaomi AX3000T + F35SQA001G with bad blocks and without bad blocks
|
|
|
|
Signed-off-by: Dim Fish <dimfish@gmail.com>
|
|
|
|
--- a/drivers/mtd/nand/spi/foresee.c
|
|
+++ b/drivers/mtd/nand/spi/foresee.c
|
|
@@ -24,8 +24,8 @@ static SPINAND_OP_VARIANTS(write_cache_v
|
|
SPINAND_PROG_LOAD(true, 0, NULL, 0));
|
|
|
|
static SPINAND_OP_VARIANTS(update_cache_variants,
|
|
- SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),
|
|
- SPINAND_PROG_LOAD(false, 0, NULL, 0));
|
|
+ SPINAND_PROG_LOAD_X4(true, 0, NULL, 0),
|
|
+ SPINAND_PROG_LOAD(true, 0, NULL, 0));
|
|
|
|
static int f35sqa002g_ooblayout_ecc(struct mtd_info *mtd, int section,
|
|
struct mtd_oob_region *region)
|