[PATCH v4 4/5] mtd: rawnand: gpmi: Rename the variable ecc_chunk_size

Miquel Raynal miquel.raynal at bootlin.com
Thu Apr 21 00:36:56 PDT 2022


On Tue, 2022-04-12 at 02:52:45 UTC, Han Xu wrote:
> There is only one variable ecc_chunk_size in bch_geometry data
> structure but two different field in BCH registers. The data0_size in
> BCH_FLASH0LAYOUT0 and datan_size in BCH_FLASH0LAYOUT1 should have
> dedicate variable since they might set to different values in some
> cases. For instance, if need dedicate ecc for meta area, the data0_size
> should be 0 rather than datan_size, but for all other cases, data0_size
> still equals to datan_size and it won't bring any function change.
> 
> Signed-off-by: Han Xu <han.xu at nxp.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list