commit | 59b5a2ad83dfefae75011a839e94d4880ff02933 | [log] [tgz] |
---|---|---|
author | Peter Tyser <ptyser@xes-inc.com> | Tue Feb 03 11:58:12 2015 -0600 |
committer | Scott Wood <scottwood@freescale.com> | Mon Mar 30 23:24:38 2015 -0500 |
tree | f8e8795000de7c524b3e042a1d6318038bf3e6b7 | |
parent | 800772a1a6530c31509d65d8e9672fe209a35066 [diff] |
nand: Add verification functions Add nand_verify() and nand_verify_page_oob(). nand_verify() verifies NAND contents against an arbitrarily sized buffer using ECC while nand_verify_page_oob() verifies a NAND page's contents and OOB. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>