ath79: fix boardname of GL.iNet GL-AR300M

This device is called GL-AR300M, therefore rename the board(s)
to 'gl-ar300m-nor' and 'gl-ar300m-nand'

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
[change boardname in uboot envtools as well, don't use wildcards for
boardname]
Signed-off-by: Mathias Kresin <dev@kresin.me>
v19.07.3_mercusys_ac12_duma
Paul Wassi 6 years ago committed by Mathias Kresin
parent cdbf2de777
commit 6e78d546d1

@ -17,7 +17,8 @@ buffalo,wzr-hp-ag300h)
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000" ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000"
;; ;;
buffalo,bhr-4grv2|\ buffalo,bhr-4grv2|\
glinet,ar300m|\ glinet,gl-ar300m-nand|\
glinet,gl-ar300m-nor|\
ocedo,koala|\ ocedo,koala|\
ocedo,raccoon|\ ocedo,raccoon|\
openmesh,om5p-ac-v2) openmesh,om5p-ac-v2)

@ -89,8 +89,9 @@ ath79_setup_interfaces()
etactica,eg200) etactica,eg200)
ucidef_set_interface_lan "eth0" "dhcp" ucidef_set_interface_lan "eth0" "dhcp"
;; ;;
glinet,ar300m|\
glinet,gl-ar150|\ glinet,gl-ar150|\
glinet,gl-ar300m-nand|\
glinet,gl-ar300m-nor|\
glinet,gl-x750|\ glinet,gl-x750|\
tplink,tl-wr810n-v1|\ tplink,tl-wr810n-v1|\
tplink,tl-wr810n-v2) tplink,tl-wr810n-v2)

@ -1,9 +1,9 @@
/dts-v1/; /dts-v1/;
#include "qca9531_glinet_ar300m.dtsi" #include "qca9531_glinet_gl-ar300m.dtsi"
/ { / {
compatible = "glinet,ar300m-nand", "qca,qca9531"; compatible = "glinet,gl-ar300m-nand", "qca,qca9531";
model = "GL.iNet GL-AR300M (NAND)"; model = "GL.iNet GL-AR300M (NAND)";
}; };

@ -3,10 +3,10 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include "qca9531_glinet_ar300m.dtsi" #include "qca9531_glinet_gl-ar300m.dtsi"
/ { / {
compatible = "glinet,ar300m-nor", "qca,qca9531"; compatible = "glinet,gl-ar300m-nor", "qca,qca9531";
model = "GL.iNet GL-AR300M (NOR)"; model = "GL.iNet GL-AR300M (NOR)";
}; };

@ -268,14 +268,14 @@ define Device/glinet_gl-ar150
endef endef
TARGET_DEVICES += glinet_gl-ar150 TARGET_DEVICES += glinet_gl-ar150
define Device/glinet_ar300m-nor define Device/glinet_gl-ar300m-nor
ATH_SOC := qca9531 ATH_SOC := qca9531
DEVICE_TITLE := GL.iNet GL-AR300M DEVICE_TITLE := GL.iNet GL-AR300M
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
IMAGE_SIZE := 16000k IMAGE_SIZE := 16000k
SUPPORTED_DEVICES += gl-ar300m SUPPORTED_DEVICES += gl-ar300m
endef endef
TARGET_DEVICES += glinet_ar300m-nor TARGET_DEVICES += glinet_gl-ar300m-nor
define Device/glinet_ar750s define Device/glinet_ar750s
ATH_SOC := qca9563 ATH_SOC := qca9563

@ -1,4 +1,4 @@
define Device/glinet_ar300m-nand define Device/glinet_gl-ar300m-nand
ATH_SOC := qca9531 ATH_SOC := qca9531
DEVICE_TITLE := GL-AR300M (NAND) DEVICE_TITLE := GL-AR300M (NAND)
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport
@ -10,4 +10,4 @@ define Device/glinet_ar300m-nand
IMAGE/sysupgrade.bin := sysupgrade-tar IMAGE/sysupgrade.bin := sysupgrade-tar
IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
endef endef
TARGET_DEVICES += glinet_ar300m-nand TARGET_DEVICES += glinet_gl-ar300m-nand

Loading…
Cancel
Save