diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-05-13 11:17:37 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-05-20 15:29:53 -0700 |
commit | 7e7e4730c178f32a14b781f7c55564d99c4dda3f (patch) | |
tree | a520f4ca2e0102b90c6bc0fed7f6b3d85d666c46 /block | |
parent | 35d5d20efad8a04c8c002c7f31241dff973977a6 (diff) |
mtd: mxc_nand: limit the size of used oob
For 4k pages the i.MX NFC hardware uses no more than 218 bytes for 8bit ECC
data. Larger oobsize confuses the logic of copy_spare(). Limit the size of used
oob size to avoid that.
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions