diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-19 15:56:59 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-19 15:56:59 +0000 |
commit | 8a471efe012d23a9292b4f951e6d09717595faa3 (patch) | |
tree | 6cb18fc74c3ee011bab13b91c4a25dd4a376d95a /target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h | |
parent | 57d0b185e5be070fe22a6e3971747a2102393c08 (diff) | |
download | master-31e0f0ae-8a471efe012d23a9292b4f951e6d09717595faa3.tar.gz master-31e0f0ae-8a471efe012d23a9292b4f951e6d09717595faa3.tar.bz2 master-31e0f0ae-8a471efe012d23a9292b4f951e6d09717595faa3.zip |
ar71xx: add platform data for the RB750 NAND driver
SVN-Revision: 31022
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h index 3e6fc50c55..9509fca71e 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h @@ -43,6 +43,7 @@ #define RB750_LED_PORT3 BIT(RB750_GPIO_LED_PORT3) #define RB750_LED_PORT4 BIT(RB750_GPIO_LED_PORT4) #define RB750_LED_PORT5 BIT(RB750_GPIO_LED_PORT5) +#define RB750_NAND_NCE BIT(RB750_GPIO_NAND_NCE) #define RB750_LVC573_LE BIT(RB750_GPIO_LVC573_LE) @@ -61,8 +62,14 @@ struct rb750_led_platform_data { struct rb750_led_data *leds; }; +struct rb7xx_nand_platform_data { + u32 nce_line; + + void (*enable_pins)(void); + void (*disable_pins)(void); + void (*latch_change)(u32, u32); +}; + int rb750_latch_change(u32 mask_clr, u32 mask_set); -void rb750_nand_pins_enable(void); -void rb750_nand_pins_disable(void); #endif /* _MACH_RB750_H */
\ No newline at end of file |