summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-01-06 11:11:58 +0800
committerScott Wood <scottwood@freescale.com>2011-01-12 17:13:10 -0600
commit47fc18f1e72ef1fc68a179c2b674a4c58646afc9 (patch)
treec93268a1dc06ec5034716ec2b5992faa1bbdd378 /include/nand.h
parent7fab9dfffab3a662f6ef1967dcb90618fd28df3c (diff)
NAND: add the ability to directly write yaffs image
This patch add addition suffix to nand write to give the uboot the power to directly burn the yaffs image to nand. Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h
index a4524113d00..7459bd0330a 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -115,7 +115,7 @@ typedef struct nand_erase_options nand_erase_options_t;
int nand_read_skip_bad(nand_info_t *nand, loff_t offset, size_t *length,
u_char *buffer);
int nand_write_skip_bad(nand_info_t *nand, loff_t offset, size_t *length,
- u_char *buffer);
+ u_char *buffer, int withoob);
int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts);
#define NAND_LOCK_STATUS_TIGHT 0x01