summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-11 11:37:04 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-11 11:37:04 +0000
commitf22bab1017abddc826a1e830eece2ba8099166ee (patch)
tree747c10ef9fc33bbaf24718a03304806a4ef7fad4 /target/linux/brcm63xx
parent9c6287d6a14b7f7105e4b61774c5310cb96489c3 (diff)
downloadmtk-20170518-f22bab1017abddc826a1e830eece2ba8099166ee.zip
mtk-20170518-f22bab1017abddc826a1e830eece2ba8099166ee.tar.gz
mtk-20170518-f22bab1017abddc826a1e830eece2ba8099166ee.tar.bz2
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
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/dts/bcm96328avng.dts8
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile7
2 files changed, 12 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/bcm96328avng.dts b/target/linux/brcm63xx/dts/bcm96328avng.dts
new file mode 100644
index 0000000..52e7daf
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96328avng.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6328.dtsi"
+
+/ {
+ model = "Broadcom BCM96328avng reference board";
+ compatible = "brcm,bcm96328avng", "brcm,bcm6328";
+};
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index eb53c8c..1f7f631 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -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))