summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-19 15:42:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-20 07:36:03 +0200
commit50147cd34daa8bb121c3d304fe839ee6c1602662 (patch)
tree0b2afba8207a3119b41636331496e787eb139ca5 /arch
parentf104f55c04befbf4de0887824ff8250d022df642 (diff)
downloadbarebox-50147cd34daa8bb121c3d304fe839ee6c1602662.tar.gz
barebox-50147cd34daa8bb121c3d304fe839ee6c1602662.tar.xz
mtd: nand: mxs: Fix 2k nand with oob size of 224 bytes
The mxs nand driver has a calculation for the ecc strength. This calculation was not used for some common nands and it was assumed that 2k page nands always have a ecc strength of 8. This is not true since there are devices with 224 bytes of oob instread of 64 bytes. These allow for a greater ecc strength. Since the kernel relies on the calculation and we have to be consistent with the kernel use the calculcation in barebox aswell and just remove our assumptions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions