| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | #ifndef __LINUX_MTD_NAND_GPIO_H |
| 3 | #define __LINUX_MTD_NAND_GPIO_H |
| 4 | |
| 5 | #include <linux/mtd/rawnand.h> |
| 6 | |
| 7 | struct gpio_nand_platdata { |
| 8 | void (*adjust_parts)(struct gpio_nand_platdata *, size_t); |
| 9 | struct mtd_partition *parts; |
| 10 | unsigned int num_parts; |
| 11 | unsigned int options; |
| 12 | int chip_delay; |
| 13 | }; |
| 14 | |
| 15 | #endif |
| 16 |
