From: Piotr Dymacz Date: Mon, 16 Nov 2015 02:14:18 +0000 (+0100) Subject: Add initial definition for TL-WR820N CH in U-Boot Makefile X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c60fa6fad800662601719b73ae1b568ff95b9c4;p=oweals%2Fu-boot_mod.git Add initial definition for TL-WR820N CH in U-Boot Makefile --- diff --git a/u-boot/Makefile b/u-boot/Makefile index e9f3663..92d4ec8 100644 --- a/u-boot/Makefile +++ b/u-boot/Makefile @@ -751,6 +751,22 @@ wa830re_v2_wa801nd_v2_config : unconfig wasp_common_config @./mkconfig -a db12x mips mips db12x ar7240 ar7240 +ap143_common_config : common_config + @echo "#define CONFIG_ATHEROS 1" >> include/config.h + @echo "#define CONFIG_MACH_QCA953x 1" >> include/config.h + +tplink_wr820n_CH_config : unconfig ap143_common_config + @/bin/echo -e '\e[32m> Configuring for TP-Link TL-WR820N CH at:' `date` '\e[0m' + @echo "#define SOC_TYPE QCA_QCA953X_SOC" >> include/config.h + @echo "#define CONFIG_FOR_TPLINK_WR820N_CH 1" >> include/config.h + @echo "#define CFG_ATHRS27_PHY 1" >> include/config.h + @echo "#define CFG_ATH_GMAC_NMACS 2" >> include/config.h + @echo "#define DEFAULT_FLASH_SIZE_IN_MB 4" >> include/config.h + @echo "#define BOARD_CUSTOM_STRING \"TP-Link TL-WR820N CH\"" >> include/config.h + @echo "#define CFG_PLL_FREQ CFG_PLL_400_400_200" >> include/config.h + + @./mkconfig -a ap143 mips mips ap143 ar7240 ar7240 + ######################################################################### ######################################################################### #########################################################################