From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 14 Mar 2013 12:32:08 -0500 Subject: [U-Boot] [PATCH v6 6/9] dfu: NAND specific routines for DFU operation In-Reply-To: <1363275175-8408-7-git-send-email-trini@ti.com> (from trini@ti.com on Thu Mar 14 10:32:52 2013) References: <1363275175-8408-1-git-send-email-trini@ti.com> <1363275175-8408-7-git-send-email-trini@ti.com> Message-ID: <1363282328.28440.5@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/14/2013 10:32:52 AM, Tom Rini wrote: > From: Pantelis Antoniou > > Support for NAND storage devices to work with the DFU framework. > > Signed-off-by: Pantelis Antoniou > Signed-off-by: Tom Rini > --- > Changes in v6: > - Update dfu_nand.c based on Scott's feedback > > Changes in v5: > - Document CONFIG_DFU_NAND in README > > Changes in v4: None > Changes in v3: > - Rework logic in nand_block_op for nand_(read|write)_skip_bad > returning > just a size for actual used length. > - Remove unused externs from drivers/dfu/dfu_nand.c > > Changes in v2: > - nand_block_op calls nand_(read|write)_skip_bad directly. > - Bugfix in dfu_nand to make sure we set dfu->skip_bad to 0 on each > iteration. > > README | 3 + > drivers/dfu/Makefile | 1 + > drivers/dfu/dfu.c | 8 +++ > drivers/dfu/dfu_nand.c | 187 > ++++++++++++++++++++++++++++++++++++++++++++++++ > include/dfu.h | 23 ++++++ > 5 files changed, 222 insertions(+) > create mode 100644 drivers/dfu/dfu_nand.c Acked-by: Scott Wood -Scott