summaryrefslogtreecommitdiff
path: root/include/linux/mtd/sharpsl.h
blob: 231bd1c3f408e165c6d3d58089161ddc110c3c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * SharpSL NAND support
 *
 * Copyright (C) 2008 Dmitry Baryshkov
 */

#ifndef _MTD_SHARPSL_H
#define _MTD_SHARPSL_H

#include <linux/mtd/rawnand.h>
#include <linux/mtd/partitions.h>

struct sharpsl_nand_platform_data {
	struct nand_bbt_descr	*badblock_pattern;
	const struct mtd_ooblayout_ops *ecc_layout;
	struct mtd_partition	*partitions;
	unsigned int		nr_partitions;
	const char *const	*part_parsers;
};

#endif /* _MTD_SHARPSL_H */