summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-27 16:56:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-27 16:56:30 +0000
commit723d8dd74fdcb14465acc5ef5956020054ff9642 (patch)
treeab44a6c066037678d4d13e5d371912e77f89522d /target/linux/ramips/image
parent250ef0cb72325e88afa6dfc95f6d9477c62ca1b3 (diff)
downloadmtk-20170518-723d8dd74fdcb14465acc5ef5956020054ff9642.zip
mtk-20170518-723d8dd74fdcb14465acc5ef5956020054ff9642.tar.gz
mtk-20170518-723d8dd74fdcb14465acc5ef5956020054ff9642.tar.bz2
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
Diffstat (limited to 'target/linux/ramips/image')
-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 8f4e211..a2845fd 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -89,6 +89,10 @@ define BuildFirmware/Buffalo
fi; fi
endef
+define BuildFirmware/Buffalo2
+ $(call BuildFirmware/Generic,$(1),$(2),board=$(3),$($(4)),$(5),$(6))
+endef
+
define BuildFirmware/NW718
$(call PatchKernelLzma,$(2),$(3) $($(4)))
mkimage -A mips -O linux -T kernel -C lzma $(call kernel_entry) \
@@ -284,9 +288,15 @@ define Image/Build/Profile/RTN15
$(call Image/Build/Template/GENERIC_4M,$(1),rt-n15,RT-N15)
endef
+mtdlayout_wlitx4ag300n=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2880k(rootfs),64k(user)ro,3712k@0x50000(firmware)
+define Image/Build/Profile/WLITX4AG300N
+ $(call BuildFirmware/Buffalo2,$(1),wli-tx4-ag300n,WLI-TX4-AG300N,mtdlayout_wlitx4ag300n,851968,2949120)
+endef
+
ifeq ($(CONFIG_RALINK_RT288X),y)
define Image/Build/Profile/Default
$(call Image/Build/Profile/RTN15,$(1))
+ $(call Image/Build/Profile/WLITX4AG300N,$(1))
endef
endif