diff options
author | mokopatches <mokopatches@openmoko.org> | 2008-11-19 17:03:09 +0000 |
---|---|---|
committer | warmcat <andy@warmcat.com> | 2008-11-19 17:03:09 +0000 |
commit | 6c6a2b5bb5badea6648bed6bf0dc1033419f5397 (patch) | |
tree | 49af62bb725eac655680bea0ea72b936cbe01ce7 /arch/arm/plat-s3c | |
parent | 3e243335eb2060abcf984f6ec9b7272914d56671 (diff) |
s3c2410-bbt.patch
[PATCH] Add Kconfig option to enable NAND bad-block-table support for s3c2410
This patch adds a new CONFIG_MTD_NAND_S3C2410_BBT which, if enabled,
asks the mtd NAND core to use a bad-block table.
Signed-off-by: Harald Welte <laforge@openmoko.org>
Diffstat (limited to 'arch/arm/plat-s3c')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h index f4dcd14af05..048b0f03adf 100644 --- a/arch/arm/plat-s3c/include/plat/nand.h +++ b/arch/arm/plat-s3c/include/plat/nand.h @@ -21,11 +21,14 @@ * partitions = mtd partition list */ +#define S3C2410_NAND_BBT 0x0001 + struct s3c2410_nand_set { unsigned int disable_ecc : 1; int nr_chips; int nr_partitions; + unsigned int flags; char *name; int *nr_map; struct mtd_partition *partitions; |