]> git.sur5r.net Git - u-boot/commit
nand: Add verification functions
authorPeter Tyser <ptyser@xes-inc.com>
Tue, 3 Feb 2015 17:58:12 +0000 (11:58 -0600)
committerScott Wood <scottwood@freescale.com>
Tue, 31 Mar 2015 04:24:38 +0000 (23:24 -0500)
commit59b5a2ad83dfefae75011a839e94d4880ff02933
treef8e8795000de7c524b3e042a1d6318038bf3e6b7
parent800772a1a6530c31509d65d8e9672fe209a35066
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>
drivers/mtd/nand/nand_util.c
include/nand.h