summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9m10g45ek
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2013-04-11 14:04:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-12 19:26:47 +0200
commit59dbb4fe2c70fc79497f486c55c5fa785299b1c1 (patch)
treea3e985b6c8febd822a4edf0c86396747127170d0 /arch/arm/boards/at91sam9m10g45ek
parent8474cc900f96d306b5ac7733fc4aebf702a942a0 (diff)
downloadbarebox-59dbb4fe2c70fc79497f486c55c5fa785299b1c1.tar.gz
barebox-59dbb4fe2c70fc79497f486c55c5fa785299b1c1.tar.xz
mtdraw: fix oob read and write
actually ops.ooboffs is not defaulted so when its value gets added to chip->oob_poi in nand_fill_oob or nand_transfer_oob the respective memcpy is using a wrong address. With this patch, both md -s /dev/nandraw0 and cp xyz /dev/nandraw0.sb are working fine on an i.MX28 target (instead of crashing the board). Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/at91sam9m10g45ek')
0 files changed, 0 insertions, 0 deletions