Skip to content
Commit 780dcc5a authored by Claire Lin's avatar Claire Lin Committed by Paul Gortmaker
Browse files

mtd: rawnand: brcmnand: Fix ecc chunk calculation for erased page bitfips



commit 7f852cc1 upstream.

In brcmstb_nand_verify_erased_page(), the ECC chunk pointer calculation
while correcting erased page bitflips is wrong, fix it.

Fixes: 02b88eea ("mtd: brcmnand: Add check for erased page bitflips")
Signed-off-by: default avatarClaire Lin <claire.lin@broadcom.com>
Reviewed-by: default avatarRay Jui <ray.jui@broadcom.com>
Signed-off-by: default avatarKamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent b7b341fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment