diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-10-02 12:24:34 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-10-02 12:24:34 +0000 |
commit | f51292a0a7a2fe77bcffb7a1c79dd25153127b1b (patch) | |
tree | 3a1047b8b587716363f244a8fb0212cfef8974b1 /target | |
parent | ef157784bce2f9160d629f2d596a98e48bc79415 (diff) | |
download | upstream-f51292a0a7a2fe77bcffb7a1c79dd25153127b1b.tar.gz upstream-f51292a0a7a2fe77bcffb7a1c79dd25153127b1b.tar.bz2 upstream-f51292a0a7a2fe77bcffb7a1c79dd25153127b1b.zip |
brcm63xx: Add DT support for 96345GW2
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@42728 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm63xx/dts/bcm96345GW2.dts | 8 | ||||
-rwxr-xr-x | target/linux/brcm63xx/image/Makefile | 6 | ||||
-rw-r--r-- | target/linux/brcm63xx/profiles/01-generic.mk | 9 |
3 files changed, 20 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/bcm96345GW2.dts b/target/linux/brcm63xx/dts/bcm96345GW2.dts new file mode 100644 index 0000000000..35417ab955 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm96345GW2.dts @@ -0,0 +1,8 @@ +/dts-v1/; + +/include/ "bcm6345.dtsi" + +/ { + model = "Broadcom BCM96345GW2 reference board"; + compatible = "brcm,bcm96345gw2", "brcm,bcm6345"; +}; diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 0010e7d3e9..4e5c9ed4d4 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -234,9 +234,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),96345GW2,6345,96345GW2-generic) - $(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5) - $(call Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION)) $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-generic,,) $(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,) $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-bc221,,--layoutver 5) @@ -342,6 +339,9 @@ $(eval $(call CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-16M-fl $(eval $(call CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-4M-flash-generic,,--pad 2)) $(eval $(call CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-8M-flash-generic,,--pad 4)) $(eval $(call CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-flash-generic,,--pad 8)) +# Generic 96345GW2 +$(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic)) +$(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5)) # ADB P.DG A4001N $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8)) diff --git a/target/linux/brcm63xx/profiles/01-generic.mk b/target/linux/brcm63xx/profiles/01-generic.mk index db4a094f68..c60ef62e6c 100644 --- a/target/linux/brcm63xx/profiles/01-generic.mk +++ b/target/linux/brcm63xx/profiles/01-generic.mk @@ -22,3 +22,12 @@ define Profile/96328avng/Description Package set optimized for 96328avng. endef $(eval $(call Profile,96328avng)) + +define Profile/96345GW2 + NAME:=Generic 96345GW2 + PACKAGES:= +endef +define Profile/96345GW2/Description + Package set optimized for 96345GW2. +endef +$(eval $(call Profile,96345GW2)) |