dfu: nand: Verify writes
authorPeter Tyser <ptyser@xes-inc.com>
Tue, 3 Feb 2015 17:58:14 +0000 (11:58 -0600)
committerScott Wood <scottwood@freescale.com>
Tue, 31 Mar 2015 04:24:38 +0000 (23:24 -0500)
commit9ac71f112eb3cffc42e012fcdf5009e5b3b01a1d
tree5168327157e1bca58b690a66d78b2d984baa717c
parent6b94f118a213583ada80bab25fedacc08562392d
dfu: nand: Verify writes

Previously NAND writes were not verified and could fail silently.  Add
a verification step after all writes to NAND.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/dfu/dfu_nand.c