On 03/14/2013 10:32:52 AM, Tom Rini wrote:
From: Pantelis Antoniou <pa...@antoniou-consulting.com>
Support for NAND storage devices to work with the DFU framework.
Signed-off-by: Pantelis Antoniou <pa...@antoniou-consulting.com>
Signed-off-by: Tom Rini <tr...@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 <scottw...@freescale.com>
-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot