root/include/linux/mtd/sharpsl.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * SharpSL NAND support
   4  *
   5  * Copyright (C) 2008 Dmitry Baryshkov
   6  */
   7 
   8 #ifndef _MTD_SHARPSL_H
   9 #define _MTD_SHARPSL_H
  10 
  11 #include <linux/mtd/rawnand.h>
  12 #include <linux/mtd/nand_ecc.h>
  13 #include <linux/mtd/partitions.h>
  14 
  15 struct sharpsl_nand_platform_data {
  16         struct nand_bbt_descr   *badblock_pattern;
  17         const struct mtd_ooblayout_ops *ecc_layout;
  18         struct mtd_partition    *partitions;
  19         unsigned int            nr_partitions;
  20         const char *const       *part_parsers;
  21 };
  22 
  23 #endif /* _MTD_SHARPSL_H */

/* [<][>][^][v][top][bottom][index][help] */