[U-Boot] [PATCH v6 6/9] dfu: NAND specific routines for DFU operation

Scott Wood scottwood at freescale.com
Thu Mar 14 18:32:08 CET 2013


On 03/14/2013 10:32:52 AM, Tom Rini wrote:
> From: Pantelis Antoniou <panto at antoniou-consulting.com>
> 
> Support for NAND storage devices to work with the DFU framework.
> 
> Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>
> Signed-off-by: Tom Rini <trini at ti.com>
> ---
> 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 <scottwood at freescale.com>

-Scott


More information about the U-Boot mailing list