diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-09-12 04:04:06 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2011-10-03 23:35:12 (GMT) |
commit | 6d41419f0b010db03c01dec59875144457aa11d2 (patch) | |
tree | d77ba5724d272ccffa14e6cc7ae601beedd5be16 /include | |
parent | dc7cd8e59ba077f3b4c1a4557c9cd86a31b9ab1f (diff) | |
download | u-boot-6d41419f0b010db03c01dec59875144457aa11d2.tar.xz |
NAND: Really ignore bad blocks when scrubbing
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
[scottwood@freescale.com: use chip instead of redundant priv_nand]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/mtd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index d36d584..141c960 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -55,6 +55,7 @@ struct erase_info { u_long priv; u_char state; struct erase_info *next; + int scrub; }; struct mtd_erase_region_info { |