From 836e2e1e417500cf50e6821d2fdce552e36dfb1a Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Thu, 22 Feb 2018 16:55:01 +0100 Subject: [PATCH] Add support for GainStrong Oolite v5.2 (QCA9531 based) Signed-off-by: Piotr Dymacz --- Makefile | 2 + README.md | 6 +- u-boot/Makefile | 20 +++- u-boot/include/configs/ap121.h | 36 ++++---- u-boot/include/configs/ap143.h | 161 +++++++++++++++++++-------------- 5 files changed, 133 insertions(+), 92 deletions(-) diff --git a/Makefile b/Makefile index 1a6c8a4..2d314a7 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,8 @@ $(COMMON_AR933X_TARGETS): @$(call build,123,1) COMMON_ETHS27_TARGETS = \ + gainstrong_oolite_v5.2 \ + gainstrong_oolite_v5.2_dev \ tp-link_tl-mr22u_v1 \ tp-link_tl-mr3420_v2 \ tp-link_tl-mr3420_v3 \ diff --git a/README.md b/README.md index c46ce9b..974cd15 100644 --- a/README.md +++ b/README.md @@ -69,10 +69,10 @@ Currently supported devices: - Black Swift - CreatComm Technology D3321 - Dragino MS14/N + - GainStrong Oolite v1/Elink EL-M150 module with dev board ([photos in my gallery](http://galeria.tech-blog.pl/Elink_EL-M150_Development-Board/)) - GL.iNet 64xxA ([photos in my gallery](http://galeria.tech-blog.pl/GLiNet/)) - GL.iNet GL-AR150 - GL.iNet GL-USB150 - - GS-Oolite/Elink EL-M150 module with dev board ([photos in my gallery](http://galeria.tech-blog.pl/Elink_EL-M150_Development-Board/)) - Hak5 LAN Turtle - Hak5 Packet Squirrel - Hak5 WiFi Pineapple NANO @@ -113,6 +113,7 @@ Currently supported devices: - Comfast CF-E314N - Comfast CF-E320N v2 - Comfast CF-E520N/CF-E530N + - GainStrong Oolite v5.2 (module and dev board) - GL.iNet GL-AR300M Lite - GL.iNet GL-AR750 - P&W CPE505N @@ -154,13 +155,14 @@ More information about supported devices: | [D-Link DIR-505 H/W ver. A1](http://wiki.openwrt.org/toh/d-link/dir-505) | AR1311 | 8 MiB | 64 MiB DDR2 | 64 KiB, LZMA | RO | | [Dragino MS14/N](http://wiki.openwrt.org/toh/dragino/ms14) | AR9331 | 16 MiB | 64 MiB DDR1 | 192 KiB | R/W | | [EnGenius ENS202EXT](https://wiki.openwrt.org/toh/engenius/engenius_ens202ext_1.0.0) | AR9341 | 16 MiB | 64 MiB DDR1 | 256 KiB | R/W | +| GainStrong Oolite v1/Elink EL-M150 module | AR9331 | 4/8/16 MiB | 64 MiB DDR2 | 64 KiB, LZMA | RO | +| GainStrong Oolite v5.2 | QCA9531 | 16 MiB | 64/128 MiB DDR2 | 256 KiB, LZMA | RO | | [GL.iNet 64xxA](http://wiki.openwrt.org/toh/gl-inet/gl-inet) | AR9331 | 8/16 MiB | 64 MiB DDR1 | 64 KiB | RO | | GL.iNet GL-AR150 | AR9331 | 16 MiB | 64 MiB DDR2 | 256 KiB | R/W | | GL.iNet GL-AR300 | AR9344 | 16 MiB | 128 MiB DDR2 | 256 KiB | R/W | | GL.iNet GL-AR300M Lite | QCA9531 | 16 MiB | 128 MiB DDR2 | 256 KiB | R/W | | GL.iNet GL-AR750 | QCA9531 | 16 MiB | 128 MiB DDR2 | 256 KiB | R/W | | GL.iNet GL-USB150 | AR9331 | 16 MiB | 64 MiB DDR2 | 256 KiB | R/W | -| GS-Oolite/Elink EL-M150 module | AR9331 | 4/8/16 MiB | 64 MiB DDR2 | 64 KiB, LZMA | RO | | Hak5 LAN Turtle | AR9331 | 16 MiB | 64 MiB DDR2 | 128 KiB | R/W | | Hak5 Packet Squirrel | AR9331 | 16 MiB | 64 MiB DDR2 | 128 KiB | R/W | | Hak5 WiFi Pineapple NANO | AR9331 | 16 MiB | 64 MiB DDR2 | 128 KiB | R/W | diff --git a/u-boot/Makefile b/u-boot/Makefile index 1801a87..1c02897 100644 --- a/u-boot/Makefile +++ b/u-boot/Makefile @@ -482,10 +482,26 @@ engenius_ens202ext: ar934x_common @$(MKCONFIG) -a db12x mips mips db12x ar7240 ar7240 gainstrong_oolite_v1_dev: ar933x_common - @$(call config_init,Gainstrong Oolite v1 (dev board),oolite-v1,16,11,,QCA_AR9331_SOC) - @$(call define_add,CONFIG_FOR_GS_OOLITE_V1_DEV,1) + @$(call config_init,GainStrong Oolite v1-Dev,oolite-v1-dev,16,11,,QCA_AR9331_SOC) + @$(call define_add,CONFIG_FOR_GAINSTRONG_OOLITE_V1_DEV,1) @$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240 +gainstrong_oolite_v5.2: qca953x_common + @$(call config_init,GainStrong Oolite v5.2,oolite-v5.2,16,,,QCA_QCA9531_SOC) + @$(call define_add,CONFIG_FOR_GAINSTRONG_OOLITE_V5_2,1) + @$(call define_add,CFG_ATHRS27_PHY,1) + @$(call define_add,CFG_ATH_GMAC_NMACS,2) + @$(call define_add,CONFIG_PCI,1) + @$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240 + +gainstrong_oolite_v5.2_dev: qca953x_common + @$(call config_init,GainStrong Oolite v5.2-Dev,oolite-v5.2-dev,16,17,1,QCA_QCA9531_SOC) + @$(call define_add,CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV,1) + @$(call define_add,CFG_ATHRS27_PHY,1) + @$(call define_add,CFG_ATH_GMAC_NMACS,2) + @$(call define_add,CONFIG_PCI,1) + @$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240 + gl-inet_6416: ar933x_common @$(call config_init,GL.iNet 6416,glinet-6416,8,11,,QCA_AR9331_SOC) @$(call define_add,CONFIG_FOR_GLINET_6416,1) diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index e2d5ee7..fac001f 100644 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -64,6 +64,11 @@ #define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO0 | GPIO28 #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 | GPIO17 +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V1_DEV) + + #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 | GPIO15 | GPIO17 |\ + GPIO27 + #elif defined(CONFIG_FOR_GLINET_6416) #define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO0 | GPIO13 @@ -81,11 +86,6 @@ #define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO13 #define CONFIG_QCA_GPIO_MASK_OUT_INIT_L GPIO7 -#elif defined(CONFIG_FOR_GS_OOLITE_V1_DEV) - - #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 | GPIO15 | GPIO17 |\ - GPIO27 - #elif defined(CONFIG_FOR_HAK5_LAN_TURTLE) #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 @@ -201,6 +201,12 @@ "rootfstype=squashfs init=/sbin/init "\ "mtdparts=ar7240-nor0:192k(u-boot),64k(u-boot-env),16064k(firmware),64k(art)" +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V1_DEV) + + #define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\ + "rootfstype=squashfs init=/sbin/init "\ + "mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art)" + #elif defined(CONFIG_FOR_GLINET_6416) ||\ defined(CONFIG_FOR_HAK5_LAN_TURTLE) ||\ defined(CONFIG_FOR_HAK5_PACKET_SQUIRREL) ||\ @@ -225,12 +231,6 @@ "rootfstype=squashfs,jffs2 noinitrd "\ "mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1280k(kernel),14656k(rootfs),64k(nvram),64k(art)ro,15936k@0x50000(firmware)" -#elif defined(CONFIG_FOR_GS_OOLITE_V1_DEV) - - #define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\ - "rootfstype=squashfs init=/sbin/init "\ - "mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art)" - #elif defined(CONFIG_FOR_TPLINK_WR710N_V1) #define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\ @@ -384,6 +384,12 @@ * #define OFFSET_MAC_ADDRESS2 0x000016 */ +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V1_DEV) + + #define OFFSET_MAC_DATA_BLOCK 0x010000 + #define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000 + #define OFFSET_MAC_ADDRESS 0x00FC00 + #elif defined(CONFIG_FOR_GLINET_GL_AR150) ||\ defined(CONFIG_FOR_GLINET_GL_USB150) ||\ defined(CONFIG_FOR_UNWIRED_DEVICES_UNWIRED_ONE) @@ -392,12 +398,6 @@ #define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000 #define OFFSET_MAC_ADDRESS 0x000000 -#elif defined(CONFIG_FOR_GS_OOLITE_V1_DEV) - - #define OFFSET_MAC_DATA_BLOCK 0x010000 - #define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000 - #define OFFSET_MAC_ADDRESS 0x00FC00 - #elif defined(CONFIG_FOR_HAK5_WIFI_PINEAPPLE_NANO) #define OFFSET_MAC_DATA_BLOCK 0xFF0000 @@ -419,10 +419,10 @@ !defined(CONFIG_FOR_CREATCOMM_D3321) &&\ !defined(CONFIG_FOR_DLINK_DIR505_A1) &&\ !defined(CONFIG_FOR_DRAGINO_MS14) &&\ + !defined(CONFIG_FOR_GAINSTRONG_OOLITE_V1_DEV) &&\ !defined(CONFIG_FOR_GLINET_6416) &&\ !defined(CONFIG_FOR_GLINET_GL_AR150) &&\ !defined(CONFIG_FOR_GLINET_GL_USB150) &&\ - !defined(CONFIG_FOR_GS_OOLITE_V1_DEV) &&\ !defined(CONFIG_FOR_HAK5_LAN_TURTLE) &&\ !defined(CONFIG_FOR_HAK5_PACKET_SQUIRREL) &&\ !defined(CONFIG_FOR_HAK5_WIFI_PINEAPPLE_NANO) &&\ diff --git a/u-boot/include/configs/ap143.h b/u-boot/include/configs/ap143.h index 81d57c3..eb0d3d3 100644 --- a/u-boot/include/configs/ap143.h +++ b/u-boot/include/configs/ap143.h @@ -46,6 +46,10 @@ #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO11 +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) + + #define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO13 + #elif defined(CONFIG_FOR_GLINET_GL_AR300M_LITE) #define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 | GPIO14 @@ -207,6 +211,13 @@ "rootfstype=jffs2 init=/sbin/init "\ "mtdparts=ath-nor0:64k(u-boot),64k(art),1536k(uImage),6464k(rootfs),64k(mib0)" +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) + + #define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:01 "\ + "rootfstype=squashfs init=/sbin/init "\ + "mtdparts=ath-nor0:128k(u-boot),16192k@0x20000(firmware),64k@0xff0000(art)" + #elif defined(CONFIG_FOR_GLINET_GL_AR300M_LITE) #define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\ @@ -287,22 +298,24 @@ #define CFG_LOAD_ADDR 0x9F080000 -#elif defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ - defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ - defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ - defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ - defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ - defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ - defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ +#elif defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ + defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) ||\ + defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ + defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ + defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ + defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ + defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ defined(CONFIG_FOR_TPLINK_WR902AC_V1) #define CFG_LOAD_ADDR 0x9F020000 @@ -360,6 +373,26 @@ #define CFG_ENV_SIZE 0x7C00 #define CFG_ENV_SECT_SIZE 0x10000 +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) ||\ + defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ + defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ + defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ + defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ + defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ + defined(CONFIG_FOR_TPLINK_WR902AC_V1) + + #define CFG_ENV_ADDR 0x9F01EC00 + #define CFG_ENV_SIZE 0x1000 + #define CFG_ENV_SECT_SIZE 0x10000 + #elif defined(CONFIG_FOR_GLINET_GL_AR300M_LITE) ||\ defined(CONFIG_FOR_GLINET_GL_AR750) ||\ defined(CONFIG_FOR_WHQX_E600G_V2) ||\ @@ -380,24 +413,6 @@ #define CFG_ENV_SIZE 0xFC00 #define CFG_ENV_SECT_SIZE 0x10000 -#elif defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ - defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ - defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ - defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ - defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ - defined(CONFIG_FOR_TPLINK_WR902AC_V1) - - #define CFG_ENV_ADDR 0x9F01EC00 - #define CFG_ENV_SIZE 0x1000 - #define CFG_ENV_SECT_SIZE 0x10000 - #elif defined(CONFIG_FOR_WALLYS_DR531) #define CFG_ENV_ADDR 0x9F030000 @@ -435,12 +450,14 @@ #define OFFSET_MAC_DATA_BLOCK_LENGTH 0x10000 #define OFFSET_MAC_ADDRESS 0x00000 -#elif defined(CONFIG_FOR_GLINET_GL_AR300M_LITE) ||\ - defined(CONFIG_FOR_P2W_CPE505N) ||\ - defined(CONFIG_FOR_P2W_R602N) ||\ - defined(CONFIG_FOR_YUNCORE_AP90Q) ||\ - defined(CONFIG_FOR_YUNCORE_CPE830) ||\ - defined(CONFIG_FOR_YUNCORE_T830) ||\ +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) ||\ + defined(CONFIG_FOR_GLINET_GL_AR300M_LITE) ||\ + defined(CONFIG_FOR_P2W_CPE505N) ||\ + defined(CONFIG_FOR_P2W_R602N) ||\ + defined(CONFIG_FOR_YUNCORE_AP90Q) ||\ + defined(CONFIG_FOR_YUNCORE_CPE830) ||\ + defined(CONFIG_FOR_YUNCORE_T830) ||\ defined(CONFIG_FOR_ZBTLINK_ZBT_WE1526) #define OFFSET_MAC_DATA_BLOCK 0xFF0000 @@ -554,20 +571,22 @@ #define WEBFAILSAFE_UPLOAD_LIMITED_AREA_IN_BYTES (512 * 1024) -#elif defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ - defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ - defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ - defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ - defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ - defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ +#elif defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ + defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) ||\ + defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ + defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ + defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ + defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ defined(CONFIG_FOR_TPLINK_WR842N_V3) #define WEBFAILSAFE_UPLOAD_LIMITED_AREA_IN_BYTES (192 * 1024) @@ -621,22 +640,24 @@ #define CONFIG_QCA_PLL_IN_FLASH_BLOCK_OFFSET 0x70000 #define CONFIG_QCA_PLL_IN_FLASH_BLOCK_SIZE 0x10000 -#elif defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ - defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ - defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ - defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ - defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ - defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ - defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ - defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ - defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ - defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ - defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ +#elif defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2) ||\ + defined(CONFIG_FOR_GAINSTRONG_OOLITE_V5_2_DEV) ||\ + defined(CONFIG_FOR_COMFAST_CF_E314N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E320N_V2) ||\ + defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ + defined(CONFIG_FOR_COMFAST_CF_E530N) ||\ + defined(CONFIG_FOR_TPLINK_MR22U_V1) ||\ + defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\ + defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\ + defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\ + defined(CONFIG_FOR_TPLINK_WR810N_V2) ||\ + defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\ + defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\ + defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\ defined(CONFIG_FOR_TPLINK_WR902AC_V1) #define CONFIG_QCA_PLL_IN_FLASH_BLOCK_OFFSET 0x10000 -- 2.25.1