brcm63xx: move bcm96328avng to dtb detection
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Aug 2014 11:37:04 +0000 (11:37 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 11 Aug 2014 11:37:04 +0000 (11:37 +0000)
Use appended dtb for board detection for bcm96328avng.

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

target/linux/brcm63xx/dts/bcm96328avng.dts [new file with mode: 0644]
target/linux/brcm63xx/image/Makefile

diff --git a/target/linux/brcm63xx/dts/bcm96328avng.dts b/target/linux/brcm63xx/dts/bcm96328avng.dts
new file mode 100644 (file)
index 0000000..52e7daf
--- /dev/null
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6328.dtsi"
+
+/ {
+       model = "Broadcom BCM96328avng reference board";
+       compatible = "brcm,bcm96328avng", "brcm,bcm6328";
+};
index eb53c8c3c2d2cd1fd574110262c1972eea0b698a..1f7f631b7a0c420f7d707e41beca779e65cde58d 100755 (executable)
@@ -232,9 +232,6 @@ endef
 define Image/Build
        dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
        # 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-8M-flash-generic,,--pad 4)
        $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8)
@@ -388,4 +385,8 @@ define Image/Build
   endif
 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))