From 8c60fa6fad800662601719b73ae1b568ff95b9c4 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 16 Nov 2015 03:14:18 +0100 Subject: [PATCH] Add initial definition for TL-WR820N CH in U-Boot Makefile --- u-boot/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 + ######################################################################### ######################################################################### ######################################################################### -- 2.25.1