aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/image
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:57 +0000
committerJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:57 +0000
commite952eaa112417637d67f1774e641c1cade49ed23 (patch)
tree8ecbc1eebc47c8688b6448ca9f957c0adf838356 /target/linux/brcm63xx/image
parent0e58173fa51a079bf5f3f6ac9d3e7a956b991ba7 (diff)
downloadupstream-e952eaa112417637d67f1774e641c1cade49ed23.tar.gz
upstream-e952eaa112417637d67f1774e641c1cade49ed23.tar.bz2
upstream-e952eaa112417637d67f1774e641c1cade49ed23.zip
bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo@openwrt.org: added some code style fixes] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35011
Diffstat (limited to 'target/linux/brcm63xx/image')
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 99dc8c5be3..5811cdba69 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -60,6 +60,15 @@ define Image/Build/CFEHW553
--block-size 0x20000 --image-offset $(4)
endef
+define Image/Build/CFEHW556
+ # Generate the tagged image
+ $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
+ --output $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin \
+ --boardid $(2) --chipid $(3) --entry $(LOADADDR) \
+ --load-addr $(LOADADDR) --tag-version 8 --rsa-signature "$(5)" \
+ --image-offset $(4) --info1 "$(6)" --block-size 0x20000
+endef
+
define Image/Build/CFEAGPF
# Generate the tagged image
$(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
@@ -258,6 +267,9 @@ define Image/Build
#HW553
$(call Image/Build/CFEHW553,$(1),HW553,6358,0x20000,HW553)
+ #HW556
+ $(call Image/Build/CFEHW556,$(1),HW556,6358,0x20000,EchoLife_HG556a,OpenWRT-$(REVISION))
+
# T-Com Speedport W 303V Typ B
$(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V)
endef