Dmitry Baryshkov | a20c7ab | 2008-10-16 18:43:48 +0400 | [diff] [blame] | 1 | /* |
| 2 | * SharpSL NAND support |
| 3 | * |
| 4 | * Copyright (C) 2008 Dmitry Baryshkov |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #include <linux/mtd/nand.h> |
| 12 | #include <linux/mtd/nand_ecc.h> |
| 13 | #include <linux/mtd/partitions.h> |
| 14 | |
| 15 | struct sharpsl_nand_platform_data { |
| 16 | struct nand_bbt_descr *badblock_pattern; |
Boris Brezillon | e5b2d30 | 2016-02-03 19:58:11 +0100 | [diff] [blame] | 17 | const struct mtd_ooblayout_ops *ecc_layout; |
Dmitry Baryshkov | a20c7ab | 2008-10-16 18:43:48 +0400 | [diff] [blame] | 18 | struct mtd_partition *partitions; |
| 19 | unsigned int nr_partitions; |
| 20 | }; |