summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/atmel.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-12-29 14:59:54 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-03-15 23:27:21 +0800
commit3dcb7ea137c882580d4d421077e9097ef099a3a9 (patch)
treee40bb4b858e6bbea72239751713789422403d0bc /include/linux/platform_data/atmel.h
parentbf4289cba02b8cf770ecd7959ca70839f0dd9d3c (diff)
mtd/atmel_nand: add on_flash_bbt to enable the use of On Flash BBT
This will allow to enable it from the board. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r--include/linux/platform_data/atmel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h
index 7b8a445f2b4..d056263545b 100644
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@ -19,6 +19,7 @@ struct atmel_nand_data {
u8 cle; /* address line number connected to CLE */
u8 bus_width_16; /* buswidth is 16 bit */
u8 ecc_mode; /* ecc mode */
+ u8 on_flash_bbt; /* bbt on flash */
struct mtd_partition *parts;
unsigned int num_parts;
};