diff options
author | Huang Shijie <b32955@freescale.com> | 2012-01-30 11:34:03 +0800 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2012-02-08 13:24:20 +0800 |
commit | 9a3365ddb4e5a9a2a578f428c8b51d265995fc80 (patch) | |
tree | c4e88782a2a76cf91db6ca5c5b00472effd88a13 /include/linux | |
parent | 56fdda5fb38f30545080a94afb05f35d63381ac6 (diff) |
ENGR00173947-1 mtd/gpmi : add BBT support to gpmi nand driver
Add a new field to gpmi_nand_platform_data{}.
Make the BBT support to board specific.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/gpmi-nand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mtd/gpmi-nand.h b/include/linux/mtd/gpmi-nand.h index 69b6dbf46b5e..6659446591ec 100644 --- a/include/linux/mtd/gpmi-nand.h +++ b/include/linux/mtd/gpmi-nand.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,6 +51,7 @@ * @partitions: An optional pointer to an array of partition * descriptions. * @partition_count: The number of elements in the partitions array. + * @enable_bbt: Enable the BBT or not. */ struct gpmi_nand_platform_data { /* SoC hardware information. */ @@ -64,5 +65,6 @@ struct gpmi_nand_platform_data { /* Medium information. */ struct mtd_partition *partitions; unsigned partition_count; + unsigned int enable_bbt:1; }; #endif |