flash: mxc nfc(v1) : fix incorrect address in spare area for biswap command
commitb68bc7d95e2fcfd300a7d8d3835888951d59157c
authorGaëtan Carlier <gcembed@gmail.com>
Sat, 12 Oct 2013 19:09:21 +0000 (12 21:09 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 16 Oct 2013 11:36:21 +0000 (16 11:36 +0000)
tree4bf60eb5a6d0aeab5aa10cbff5eeae3c4dc2bd45
parent8994b075fc06e2cf552a8025778853d4788cecf7
flash: mxc nfc(v1) : fix incorrect address in spare area for biswap command

For NFC v1 (i.MX27), swapping must be done between offset 464 of Main
buffer and offset 4 of Spare buffer.

Change-Id: I09c2036e88770032da87d5846cd2094847f47b46
Signed-off-by: Gaetan Carlier <gcembed@gmail.com>
Reviewed-on: http://openocd.zylin.com/1692
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nand/mxc.c