2019-06-04 08:11:33 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2008-10-16 14:43:48 +00:00
|
|
|
/*
|
|
|
|
* SharpSL NAND support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008 Dmitry Baryshkov
|
|
|
|
*/
|
|
|
|
|
2019-08-20 02:50:57 +00:00
|
|
|
#ifndef _MTD_SHARPSL_H
|
|
|
|
#define _MTD_SHARPSL_H
|
|
|
|
|
2017-08-04 15:29:10 +00:00
|
|
|
#include <linux/mtd/rawnand.h>
|
2008-10-16 14:43:48 +00:00
|
|
|
#include <linux/mtd/partitions.h>
|
|
|
|
|
|
|
|
struct sharpsl_nand_platform_data {
|
|
|
|
struct nand_bbt_descr *badblock_pattern;
|
2016-02-03 18:58:11 +00:00
|
|
|
const struct mtd_ooblayout_ops *ecc_layout;
|
2008-10-16 14:43:48 +00:00
|
|
|
struct mtd_partition *partitions;
|
|
|
|
unsigned int nr_partitions;
|
2017-08-14 20:48:33 +00:00
|
|
|
const char *const *part_parsers;
|
2008-10-16 14:43:48 +00:00
|
|
|
};
|
2019-08-20 02:50:57 +00:00
|
|
|
|
|
|
|
#endif /* _MTD_SHARPSL_H */
|