root/include/linux/platform_data/mtd-mxc_nand.h

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

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
   4  * Copyright 2008 Sascha Hauer, kernel@pengutronix.de
   5  */
   6 
   7 #ifndef __ASM_ARCH_NAND_H
   8 #define __ASM_ARCH_NAND_H
   9 
  10 #include <linux/mtd/partitions.h>
  11 
  12 struct mxc_nand_platform_data {
  13         unsigned int width;     /* data bus width in bytes */
  14         unsigned int hw_ecc:1;  /* 0 if suppress hardware ECC */
  15         unsigned int flash_bbt:1; /* set to 1 to use a flash based bbt */
  16         struct mtd_partition *parts;    /* partition table */
  17         int nr_parts;                   /* size of parts */
  18 };
  19 #endif /* __ASM_ARCH_NAND_H */

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