]> Git Repo - J-linux.git/blob - include/linux/platform_data/mtd-mxc_nand.h
device property: Add helpers to count items in an array
[J-linux.git] / include / linux / platform_data / mtd-mxc_nand.h
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, [email protected]
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 */
This page took 0.03025 seconds and 4 git commands to generate.