mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
d4092d76a4
We are planning to share more code between different NAND based devices (SPI NAND, OneNAND and raw NANDs), but before doing that we need to move the existing include/linux/mtd/nand.h file into include/linux/mtd/rawnand.h so we can later create a nand.h header containing all common structure and function prototypes. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Peter Pan <peterpandong@micron.com> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Acked-by: Wenyou Yang <wenyou.yang@microchip.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Han Xu <han.xu@nxp.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-By: Harvey Hunt <harveyhuntnexus@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Krzysztof Halasa <khalasa@piap.pl>
20 lines
366 B
C
20 lines
366 B
C
#ifndef __LINUX_MTD_NAND_GPIO_H
|
|
#define __LINUX_MTD_NAND_GPIO_H
|
|
|
|
#include <linux/mtd/rawnand.h>
|
|
|
|
struct gpio_nand_platdata {
|
|
int gpio_nce;
|
|
int gpio_nwp;
|
|
int gpio_cle;
|
|
int gpio_ale;
|
|
int gpio_rdy;
|
|
void (*adjust_parts)(struct gpio_nand_platdata *, size_t);
|
|
struct mtd_partition *parts;
|
|
unsigned int num_parts;
|
|
unsigned int options;
|
|
int chip_delay;
|
|
};
|
|
|
|
#endif
|