[PATCH v4 0/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG
From: Jeff Kletsky
Date: Wed May 22 2019 - 18:08:54 EST
Addresses changes in macros and related data structures introduced by
commit 377e517b5fa5
mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg
Resolves issue detected by kbuild test robot
Tue, 21 May 2019 17:28:09 +0800
Tue, 21 May 2019 18:17:28 +0800
GD5F1GQ4UFxxG data sheet on page 34 of gd5f1gq4xfxxg_v2.4_20190322.pdf
indicates "Minumum number of valid blocks (Nvb)" 1004 out of 1024 total.
Newly introduced "max bad blocks" parameter set to 20 (1024-1020).
Rebased on v5.2-rc1 and confirmed patch applies on master.
Patches 1/3 and 2/3 are the same as in the previous series.
Patch 3/3, mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG,
includes the additional parameter (compared here to v3 of the series):
SPINAND_INFO("GD5F1GQ4UFxxG", 0xb148,
- NAND_MEMORG(1, 2048, 128, 64, 1024, 1, 1, 1),
+ NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),
NAND_ECCREQ(8, 512),
SPINAND_INFO_OP_VARIANTS(&read_cache_variants_f,
&write_cache_variants,
R-b of Frieder Schrempf removed from [3/3] as a result this change.
Supersedes series:
mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=108868
Jeff
Cc: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
Cc: Schrempf Frieder <frieder.schrempf@xxxxxxxxxx>
Cc: Boris Brezillon <bbrezillon@xxxxxxxxxx>
Cc: Richard Weinberger <richard@xxxxxx>
Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Cc: Brian Norris <computersforpeace@xxxxxxxxx>
Cc: Marek Vasut <marek.vasut@xxxxxxxxx>
Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: kbuild-all@xxxxxx