2
0
forked from Ivasoft/openwrt

add AR7240 specific fixes for the ag71xx driver

SVN-Revision: 16737
This commit is contained in:
Gabor Juhos
2009-07-07 18:06:02 +00:00
parent f04fcfd801
commit a6e3c605bc
5 changed files with 57 additions and 1 deletions

View File

@@ -292,6 +292,9 @@ void ar71xx_gpio_function_disable(u32 mask);
#define AR71XX_DDR_REG_FLUSH_USB 0xa4
#define AR71XX_DDR_REG_FLUSH_PCI 0xa8
#define AR724X_DDR_REG_FLUSH_GE0 0x7c
#define AR724X_DDR_REG_FLUSH_GE1 0x80
#define AR91XX_DDR_REG_FLUSH_GE0 0x7c
#define AR91XX_DDR_REG_FLUSH_GE1 0x80
#define AR91XX_DDR_REG_FLUSH_USB 0x84

View File

@@ -28,6 +28,7 @@ struct ag71xx_platform_data {
u8 has_gbit:1;
u8 is_ar91xx:1;
u8 is_ar724x:1;
u8 has_ar8216:1;
void (* ddr_flush)(void);