xref: /linux/include/linux/mtd/sharpsl.h (revision d9c5252295218df4cfe64353aa860d7b5c8700ef)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * SharpSL NAND support
4  *
5  * Copyright (C) 2008 Dmitry Baryshkov
6  */
7 
8 #include <linux/mtd/rawnand.h>
9 #include <linux/mtd/nand_ecc.h>
10 #include <linux/mtd/partitions.h>
11 
12 struct sharpsl_nand_platform_data {
13 	struct nand_bbt_descr	*badblock_pattern;
14 	const struct mtd_ooblayout_ops *ecc_layout;
15 	struct mtd_partition	*partitions;
16 	unsigned int		nr_partitions;
17 	const char *const	*part_parsers;
18 };
19