brcm63xx: move bcm96328avng to dtb detection

Use appended dtb for board detection for bcm96328avng.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42124
This commit is contained in:
Jonas Gorski 2014-08-11 11:37:04 +00:00
parent 9c6287d6a1
commit f22bab1017
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
/ {
model = "Broadcom BCM96328avng reference board";
compatible = "brcm,bcm96328avng", "brcm,bcm6328";
};

View file

@ -232,9 +232,6 @@ endef
define Image/Build define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
# Various routers # Various routers
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-4M-flash-generic,,--pad 2)
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-8M-flash-generic,,--pad 4)
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-16M-flash-generic,,--pad 8)
$(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-4M-flash-generic,,--pad 2) $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-4M-flash-generic,,--pad 2)
$(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-8M-flash-generic,,--pad 4) $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-8M-flash-generic,,--pad 4)
$(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8) $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8)
@ -388,4 +385,8 @@ define Image/Build
endif endif
endef endef
$(eval $(call CfeImageDTB,bcm96328avng,96328avng,6328,96328avng-4M-flash-generic,,--pad 2))
$(eval $(call CfeImageDTB,bcm96328avng,96328avng,6328,96328avng-8M-flash-generic,,--pad 4))
$(eval $(call CfeImageDTB,bcm96328avng,96328avng,6328,96328avng-16M-flash-generic,,--pad 8))
$(eval $(call BuildImage)) $(eval $(call BuildImage))