aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:34 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-18 21:50:34 +0000
commita8b85da981a35dd5c1d25a1c2f8685a96bacb07e (patch)
treefc418cba21738f3f2cb2fdf1f0adae985dd532f8 /target/linux/brcm63xx
parent9ea86de16bf07de8109fac0577b701cf8f261dfa (diff)
downloadupstream-a8b85da981a35dd5c1d25a1c2f8685a96bacb07e.tar.gz
upstream-a8b85da981a35dd5c1d25a1c2f8685a96bacb07e.tar.bz2
upstream-a8b85da981a35dd5c1d25a1c2f8685a96bacb07e.zip
brcm63xx: simplify HG556a image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42207 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx')
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index b445dcb500..89935654e5 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -210,15 +210,6 @@ define CfeImageDTB
TARGET_IMAGES += $(4)
endef
-define HW556ImageDTB
- define Image/Build/$(2)
- $$(call Image/Build/CFEDTB,$$(1),$(1),HW556,6358,$(2),EchoLife_HG556a,--image-offset 0x20000 --block-size 0x20000 --tag-version 8)
- endef
-
- TARGET_DTBS += $(1)
- TARGET_IMAGES += $(2)
-endef
-
define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
@@ -371,10 +362,10 @@ $(eval $(call CfeImageDTB,dsl-274xb-c,96358GW,6358,DSL274XB-C2))
$(eval $(call CfeImageDTB,dsl-274xb-c,AW4139,6358,DSL274XB-C3))
# D-Link DVA-G3810BN/TL
$(eval $(call CfeImageDTB,dva-g3810bn_tl,96358VW,6358,DVAG3810BN))
-# Huawei HW556
-$(eval $(call HW556ImageDTB,hg556a-a,HW556-A))
-$(eval $(call HW556ImageDTB,hg556a-b,HW556-B))
-$(eval $(call HW556ImageDTB,hg556a-c,HW556-C))
+# Huawei HG556a
+$(eval $(call CfeImageDTB,hg556a-a,HW556,6358,HG556a_A,EchoLife_HG556a,--image-offset 0x20000 --block-size 0x10000 --tag-version 8))
+$(eval $(call CfeImageDTB,hg556a-b,HW556,6358,HG556a_B,EchoLife_HG556a,--image-offset 0x20000 --block-size 0x20000 --tag-version 8))
+$(eval $(call CfeImageDTB,hg556a-c,HW556,6358,HG556a_C,EchoLife_HG556a,--image-offset 0x20000 --block-size 0x20000 --tag-version 8))
# SFR Neufbox 4
$(eval $(call CfeImageDTB,nb4-ser-r0,96358VW,6358,NEUFBOX4-SER,OpenWRT-$(REVISION)))