Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
a20c7ab5 DB |
2 | /* |
3 | * SharpSL NAND support | |
4 | * | |
5 | * Copyright (C) 2008 Dmitry Baryshkov | |
a20c7ab5 DB |
6 | */ |
7 | ||
3342d2f8 MY |
8 | #ifndef _MTD_SHARPSL_H |
9 | #define _MTD_SHARPSL_H | |
10 | ||
d4092d76 | 11 | #include <linux/mtd/rawnand.h> |
a20c7ab5 DB |
12 | #include <linux/mtd/partitions.h> |
13 | ||
14 | struct sharpsl_nand_platform_data { | |
15 | struct nand_bbt_descr *badblock_pattern; | |
e5b2d30e | 16 | const struct mtd_ooblayout_ops *ecc_layout; |
a20c7ab5 DB |
17 | struct mtd_partition *partitions; |
18 | unsigned int nr_partitions; | |
e59ad6ff | 19 | const char *const *part_parsers; |
a20c7ab5 | 20 | }; |
3342d2f8 MY |
21 | |
22 | #endif /* _MTD_SHARPSL_H */ |