From 6d41419f0b010db03c01dec59875144457aa11d2 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 12 Sep 2011 06:04:06 +0200 Subject: NAND: Really ignore bad blocks when scrubbing Signed-off-by: Marek Vasut Cc: Scott Wood Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel [scottwood@freescale.com: use chip instead of redundant priv_nand] Signed-off-by: Scott Wood --- include/linux/mtd/mtd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/mtd') 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 { -- cgit v1.1