Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: fb33c6510d5595144d585aa194d377cf74d31911 authored by Linus Torvalds on 15 March 2020, 22:01:23 UTC
Linux 5.6-rc6
Tip revision: fb33c65
sharpsl.h
/* 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/nand_ecc.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 */
back to top