diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-11-24 10:01:23 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-11-24 10:01:23 +0000 |
commit | 231f17d61eef1dc02563f6553cb98bf5c97b6dec (patch) | |
tree | 3f686d657694652344a9743406652496126d9931 /target/linux/ramips/image | |
parent | 8120006c058487889fb829ed240b6ca663a420d4 (diff) | |
download | upstream-231f17d61eef1dc02563f6553cb98bf5c97b6dec.tar.gz upstream-231f17d61eef1dc02563f6553cb98bf5c97b6dec.tar.bz2 upstream-231f17d61eef1dc02563f6553cb98bf5c97b6dec.zip |
ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24126 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r-- | target/linux/ramips/image/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index acd328317c..79809de9fd 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -113,6 +113,18 @@ define Image/Build/Profile/WCR150GN endef +mtdlayout_f5d8235=mtdparts=physmap-flash.0: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 +define Image/Build/Template/F5D8235V2 + $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size)) +endef + +define Image/Build/Profile/F5D8235V2 + $(call Image/Build/Template/F5D8235V2,$(1),f5d8235v2,F5D8235_V2) +endef + + ifeq ($(CONFIG_RALINK_RT305X),y) define Image/Build/Profile/Default $(call Image/Build/Profile/DIR300B1,$(1)) @@ -121,6 +133,7 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/PWH2004,$(1)) $(call Image/Build/Profile/WHRG300N,$(1)) $(call Image/Build/Profile/WCR150GN,$(1)) + $(call Image/Build/Profile/F5D8235V2,$(1)) endef endif |