aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/s3c2410.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index ef5665258968..d315b513db5c 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -845,6 +845,12 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
845 dev_info(info->device, "NAND ECC UNKNOWN\n"); 845 dev_info(info->device, "NAND ECC UNKNOWN\n");
846 break; 846 break;
847 } 847 }
848
849 /* If you use u-boot BBT creation code, specifying this flag will
850 * let the kernel fish out the BBT from the NAND, and also skip the
851 * full NAND scan that can take 1/2s or so. Little things... */
852 if (set->flash_bbt)
853 chip->options |= NAND_USE_FLASH_BBT | NAND_SKIP_BBTSCAN;
848} 854}
849 855
850/** 856/**