summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-21 14:25:27 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-12 08:33:32 +0100
commitf1372055df21734f042f12ab92852e9d350be8d0 (patch)
treefd4ef8a4b6eeb14bdf4afbf021bf0db1c24fba64 /arch/arm
parentmxc_nand: disable sp_en bit only once (diff)
downloadlinux-f1372055df21734f042f12ab92852e9d350be8d0.tar.xz
linux-f1372055df21734f042f12ab92852e9d350be8d0.zip
mxc_nand: Allow flash based bbt
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-mxc/include/mach/mxc_nand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_nand.h b/arch/arm/plat-mxc/include/mach/mxc_nand.h
index 2b972df22d12..5d2d21d414e0 100644
--- a/arch/arm/plat-mxc/include/mach/mxc_nand.h
+++ b/arch/arm/plat-mxc/include/mach/mxc_nand.h
@@ -22,6 +22,7 @@
struct mxc_nand_platform_data {
int width; /* data bus width in bytes */
- int hw_ecc; /* 0 if supress hardware ECC */
+ int hw_ecc:1; /* 0 if supress hardware ECC */
+ int flash_bbt:1; /* set to 1 to use a flash based bbt */
};
#endif /* __ASM_ARCH_NAND_H */