ar71xx: rb91x-nand: rewrite to use GPIO API
Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39700
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef _RB91X_NAND_H_
|
||||
#define _RB91X_NAND_H_
|
||||
|
||||
#define RB91X_NAND_DRIVER_NAME "rb91x-nand"
|
||||
|
||||
struct rb91x_nand_platform_data {
|
||||
int gpio_nce; /* chip enable, active low */
|
||||
int gpio_ale; /* address latch enable */
|
||||
int gpio_cle; /* command latch enable */
|
||||
int gpio_rdy;
|
||||
int gpio_read;
|
||||
int gpio_nrw; /* read/write enable, active low */
|
||||
int gpio_nle; /* latch enable, active low */
|
||||
};
|
||||
|
||||
#endif /* _RB91X_NAND_H_ */
|
||||
Reference in New Issue
Block a user