X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cd8b422a5b316696504a19af9d8936ab00ff33c0..9e42d4627ae7702894023f11d6136c19bbe15d08:/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h 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 9bf08433c..51afcecb5 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 @@ -132,6 +132,7 @@ extern unsigned long ar71xx_mach_type; #define AR71XX_MACH_AP81 18 /* Atheros AP81 */ #define AR71XX_MACH_WRT400N 19 /* Linksys WRT400N */ #define AR71XX_MACH_PB44 20 /* Atheros PB44 */ +#define AR71XX_MACH_WRT160NL 21 /* Linksys WRT160NL */ /* * PLL block @@ -421,6 +422,9 @@ void ar71xx_device_start(u32 mask); #define SPI_IOC_CS2 SPI_IOC_CS(2) #define SPI_IOC_CS_ALL (SPI_IOC_CS0 | SPI_IOC_CS1 | SPI_IOC_CS2) +void ar71xx_flash_acquire(void); +void ar71xx_flash_release(void); + /* * MII_CTRL block */