From 8ec1a66c34d85bdd13754e4171333a763aaf0a00 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 26 Nov 2018 12:34:48 +0100 Subject: ramips: improve Skylab SKW92A support Use the generic board detection instead of the target specific one as all recent additions are doing. Add the wireless led according the gpio number from the datasheet. Rename the board part of the leds to match the name used for the compatible string. Finally, do not hijack the wps led for boot status indication longer than necessary. Merge userspace config into existing cases. Include the manufacture Name in the dts model string. Signed-off-by: Mathias Kresin --- target/linux/ramips/base-files/lib/ramips.sh | 3 --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'target/linux/ramips/base-files/lib') diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 28d5073525..ba6a13b65b 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -472,9 +472,6 @@ ramips_board_detect() { *"SAP-G3200U3") name="sap-g3200u3" ;; - *"SKW92A") - name="skw92a" - ;; *"SL-R7205"*) name="sl-r7205" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index ecc4650f68..cb6e5c1b5a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -151,7 +151,7 @@ platform_check_image() { rut5xx|\ sap-g3200u3|\ sk-wb8|\ - skw92a|\ + skylab,skw92a|\ sl-r7205|\ tama,w06|\ tew-638apb-v2|\ -- cgit v1.2.3