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