From 8ba76d6e744f2f2fb5afb9fd8ac2b828d7c8387c Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Sun, 30 Dec 2018 21:37:50 +0100
Subject: [PATCH] ath79: fix boardname of GL.iNet GL-AR150
This device is called GL-AR150, therefore rename the board
to 'gl-ar150'
Signed-off-by: Paul Wassi
---
target/linux/ath79/base-files/etc/board.d/02_network | 2 +-
.../{ar9330_glinet_ar150.dts => ar9330_glinet_gl-ar150.dts} | 2 +-
target/linux/ath79/image/generic.mk | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
rename target/linux/ath79/dts/{ar9330_glinet_ar150.dts => ar9330_glinet_gl-ar150.dts} (97%)
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 83bede0961..906ccd753f 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -89,8 +89,8 @@ ath79_setup_interfaces()
etactica,eg200)
ucidef_set_interface_lan "eth0" "dhcp"
;;
- glinet,ar150|\
glinet,ar300m|\
+ glinet,gl-ar150|\
glinet,gl-x750)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
diff --git a/target/linux/ath79/dts/ar9330_glinet_ar150.dts b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
similarity index 97%
rename from target/linux/ath79/dts/ar9330_glinet_ar150.dts
rename to target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
index fbc3acdd1b..53df36760f 100644
--- a/target/linux/ath79/dts/ar9330_glinet_ar150.dts
+++ b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
@@ -8,7 +8,7 @@
/ {
model = "GL.iNet GL-AR150";
- compatible = "glinet,ar150", "qca,ar9330";
+ compatible = "glinet,gl-ar150", "qca,ar9330";
aliases {
serial0 = &uart;
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 31c62f659d..600ab43e7f 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -259,14 +259,14 @@ define Device/etactica_eg200
endef
TARGET_DEVICES += etactica_eg200
-define Device/glinet_ar150
+define Device/glinet_gl-ar150
ATH_SOC := ar9330
DEVICE_TITLE := GL.iNet GL-AR150
DEVICE_PACKAGES := kmod-usb-chipidea2
IMAGE_SIZE := 16000k
SUPPORTED_DEVICES += gl-ar150
endef
-TARGET_DEVICES += glinet_ar150
+TARGET_DEVICES += glinet_gl-ar150
define Device/glinet_ar300m-nor
ATH_SOC := qca9531