summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-01-06 11:11:42 +0000
committerJohn Crispin <john@openwrt.org>2013-01-06 11:11:42 +0000
commitf2f933235039d37fb360b77b9e73c5975c65e328 (patch)
tree341489af7b1b8261dd8a8d896d5b305e8db27961 /target/linux/ramips/image/Makefile
parent2739a19992fe9dabafe4855732736f8e7eb23bd9 (diff)
downloadmtk-20170518-f2f933235039d37fb360b77b9e73c5975c65e328.zip
mtk-20170518-f2f933235039d37fb360b77b9e73c5975c65e328.tar.gz
mtk-20170518-f2f933235039d37fb360b77b9e73c5975c65e328.tar.bz2
adds support for Edimax BR-6524N
fixes #12754 Signed-off-by: <rq@akl.lt> SVN-Revision: 35020
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r--target/linux/ramips/image/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 631be1d..27ac10b 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -259,6 +259,11 @@ define BuildFirmware/Edimax
fi
endef
+define BuildFirmware/BR6524N
+ $(call BuildFirmware/Generic,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_4M)),917484,2949120)
+ $(call BuildFirmware/Edimax,$(1),br6524n,CSYS,WNRA,0x50000,0xc00000)
+endef
+
mtdlayout_f5d8235=320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware)
mtd_f5d8235_kernel_part_size=1572864
mtd_f5d8235_rootfs_part_size=6356992
@@ -443,6 +448,10 @@ define Image/Build/Profile/F5D8235V1
$(call Image/Build/Template/$(fs_squash)/$(1),F5D8235,f5d8235v1,F5D8235_V1)
endef
+define Image/Build/Profile/BR6524N
+ $(call Image/Build/Template/$(fs_squash)/$(1),BR6524N,br6524n,BR6524N,ttyS1,57600,phys)
+endef
+
define Image/Build/Profile/RTN15
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,rt-n15,RT-N15,ttyS1,57600,phys)
endef
@@ -458,6 +467,7 @@ endef
ifeq ($(CONFIG_RALINK_RT288X),y)
define Image/Build/Profile/Default
$(call Image/Build/Profile/F5D8235V1,$(1))
+ $(call Image/Build/Profile/BR6524N,$(1))
$(call Image/Build/Profile/RTN15,$(1))
$(call Image/Build/Profile/V11STFE,$(1))
$(call Image/Build/Profile/WLITX4AG300N,$(1))