Skip to content
Snippets Groups Projects
Commit 94d4269e authored by Sungbo Eo's avatar Sungbo Eo
Browse files

ramips: fix DEVICE_VENDOR for unbranded devices


In commit ee66fe4e ("ramips: convert DEVICE_TITLE to new variables"),
DEVICE_VENDOR of some unbranded devices were set incorrectly:
* WR512-3GN is not a dev board from Ralink.
* "XDX-RN502J" is the whole model name and should be not split.

This patch sets their DEVICE_VENDOR to "Unbranded", and changes their DTS
model properties accordingly.

Ref: d0bf15f2 ("ramips: add support for A5-V11 board (resubmit)")
Ref: 9085b05d ("ramips: rt305x: support for wr512-3gn-like routers")
Ref: 0e486d2f ("ramips: add support for unbranded XDX-RN502J board")
Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
parent 2876f753
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
/ {
compatible = "unbranded,wr512-3gn-4m", "unbranded,wr512-3gn", "ralink,rt3052-soc";
model = "WR512-3GN (4M)";
model = "Unbranded WR512-3GN (4M)";
flash@1f000000 {
compatible = "cfi-flash";
......
......@@ -2,7 +2,7 @@
/ {
compatible = "unbranded,wr512-3gn-8m", "unbranded,wr512-3gn", "ralink,rt3052-soc";
model = "WR512-3GN (8M)";
model = "Unbranded WR512-3GN (8M)";
flash@1f000000 {
compatible = "cfi-flash";
......
......@@ -5,7 +5,7 @@
/ {
compatible = "unbranded,xdx-rn502j", "ralink,rt3052-soc";
model = "XDX RN502J";
model = "Unbranded XDX-RN502J";
aliases {
led-boot = &led_power;
......
......@@ -5,7 +5,7 @@
/ {
compatible = "unbranded,a5-v11", "ralink,rt5350-soc";
model = "A5-V11";
model = "Unbranded A5-V11";
aliases {
led-boot = &led_power;
......
......@@ -1071,7 +1071,7 @@ define Device/unbranded_a5-v11
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
poray-header -B A5-V11 -F 4M
DEVICE_VENDOR :=
DEVICE_VENDOR := Unbranded
DEVICE_MODEL := A5-V11
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2
SUPPORTED_DEVICES += a5-v11
......@@ -1082,7 +1082,7 @@ TARGET_DEVICES += unbranded_a5-v11
define Device/unbranded_wr512-3gn-4m
SOC := rt3052
IMAGE_SIZE := 3776k
DEVICE_VENDOR := Ralink
DEVICE_VENDOR := Unbranded
DEVICE_MODEL := WR512-3GN
DEVICE_VARIANT := 4M
SUPPORTED_DEVICES += wr512-3gn-4M
......@@ -1093,7 +1093,7 @@ TARGET_DEVICES += unbranded_wr512-3gn-4m
define Device/unbranded_wr512-3gn-8m
SOC := rt3052
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Ralink
DEVICE_VENDOR := Unbranded
DEVICE_MODEL := WR512-3GN
DEVICE_VARIANT := 8M
SUPPORTED_DEVICES += wr512-3gn-8M
......@@ -1104,8 +1104,8 @@ define Device/unbranded_xdx-rn502j
SOC := rt3052
BLOCKSIZE := 64k
IMAGE_SIZE := 3776k
DEVICE_VENDOR := XDX
DEVICE_MODEL := RN502J
DEVICE_VENDOR := Unbranded
DEVICE_MODEL := XDX-RN502J
SUPPORTED_DEVICES += xdxrn502j
DEFAULT := n
endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment