aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorHan Xu <[email protected]>2022-04-11 21:52:45 -0500
committerMiquel Raynal <[email protected]>2022-04-21 09:34:08 +0200
commit2fb038eaeed82811eaecc4248b119218f8a3551b (patch)
tree61a378b9a67882039f7e9efca4d59c4453fdbc44 /lib/mpi/mpi-sub-ui.c
parent109158579e64267439c4491845b770cf530f8cba (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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions