diff options
author | Han Xu <han.xu@nxp.com> | 2022-04-11 21:52:45 -0500 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-04-21 09:34:08 +0200 |
commit | 2fb038eaeed82811eaecc4248b119218f8a3551b (patch) | |
tree | 61a378b9a67882039f7e9efca4d59c4453fdbc44 /tools/perf/scripts/python/syscall-counts.py | |
parent | 109158579e64267439c4491845b770cf530f8cba (diff) |
mtd: rawnand: gpmi: Rename the variable ecc_chunk_size
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@nxp.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220412025246.24269-5-han.xu@nxp.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions