summaryrefslogtreecommitdiffstats
path: root/commands/of_property.c
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2018-05-23 15:11:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-24 07:47:26 +0200
commitee3d0a0dbb63eb9e41de29b12fcef7615d0b7c8d (patch)
tree39eae610522b13dcd8b3582e5907d90fe63b47e3 /commands/of_property.c
parenta74c7fac6292623107f7ee93056add9368997fb8 (diff)
downloadbarebox-ee3d0a0dbb63eb9e41de29b12fcef7615d0b7c8d.tar.gz
barebox-ee3d0a0dbb63eb9e41de29b12fcef7615d0b7c8d.tar.xz
mtd: nand: nand_omap_gpmc: Fix ecc steps
The eccsteps where set wrong for OMAP_ECC_BCH8_CODE_HW_ROMCODE. So the ECC was only corrected for the first 512 bytes chunk of a 2k page. Moved out the ecc step iteration out of the correcting loop to make it more alike the generic nand functions. And made sure that the ECC is caclulated for all chunks. This patch is based on work of Sascha Hauer. Fixes commit dec7b4d2bf9c ("mtd: nand_omap_gpmc: fix BCH error correction"). Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/of_property.c')
0 files changed, 0 insertions, 0 deletions