Merge tag 'for-5.3/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/devic...
[platform/kernel/linux-rpi.git] / include / linux / mtd / sharpsl.h
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 };