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