Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * SharpSL NAND support
0004  *
0005  * Copyright (C) 2008 Dmitry Baryshkov
0006  */
0007 
0008 #ifndef _MTD_SHARPSL_H
0009 #define _MTD_SHARPSL_H
0010 
0011 #include <linux/mtd/rawnand.h>
0012 #include <linux/mtd/partitions.h>
0013 
0014 struct sharpsl_nand_platform_data {
0015     struct nand_bbt_descr   *badblock_pattern;
0016     const struct mtd_ooblayout_ops *ecc_layout;
0017     struct mtd_partition    *partitions;
0018     unsigned int        nr_partitions;
0019     const char *const   *part_parsers;
0020 };
0021 
0022 #endif /* _MTD_SHARPSL_H */