diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-07-07 18:06:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-07-07 18:06:02 +0000 |
commit | a6e3c605bc0e7d96b28758ee642388f10df8f1f4 (patch) | |
tree | 97c3558ed1c7e3c2ee00b7f4e3bd9166de5ad547 /target/linux/ar71xx/files/arch/mips/include/asm | |
parent | f04fcfd801bfcf696629f6aaacadb9fff6a02bbf (diff) | |
download | upstream-a6e3c605bc0e7d96b28758ee642388f10df8f1f4.tar.gz upstream-a6e3c605bc0e7d96b28758ee642388f10df8f1f4.tar.bz2 upstream-a6e3c605bc0e7d96b28758ee642388f10df8f1f4.zip |
add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h index 4486997304..989fa52bfe 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -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 diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h index 55c62b7130..c305a821d0 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h @@ -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); |