From 14f03ee751befd0c28508bd02a6193225d16d22e Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 8 Sep 2022 09:36:13 +0800 Subject: [PATCH] ipq40xx: remove redudant files Signed-off-by: Tianling Shen --- .../linux/ipq40xx/base-files/etc/board.d/02_network | 5 ----- .../linux/ipq40xx/base-files/lib/upgrade/platform.sh | 4 +--- .../files/arch/arm/boot/dts/qcom-ipq4019-r619ac.dts | 12 ------------ 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-r619ac.dts diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 196ffe97ee..040f3ee619 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -226,11 +226,6 @@ ipq40xx_setup_macs() lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base) label_mac="$lan_mac" ;; - p2w,r619ac|\ - p2w,r619ac-128m) - wan_mac=$(cat /sys/class/net/eth0/address) - lan_mac=$(macaddr_add "$wan_mac" 1) - ;; pakedge,wr-1) wan_mac=$(macaddr_add $(get_mac_label) 1) ;; diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh index ca19f08f33..0fa30db7cf 100644 --- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh @@ -149,9 +149,7 @@ platform_do_upgrade() { CI_UBIPART="ubifs" askey_do_upgrade "$1" ;; - compex,wpj419|\ - p2w,r619ac|\ - p2w,r619ac-128m) + compex,wpj419) nand_do_upgrade "$1" ;; google,wifi) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-r619ac.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-r619ac.dts deleted file mode 100644 index 31010dd179..0000000000 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-r619ac.dts +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include "qcom-ipq4019-r619ac.dtsi" - -/ { - model = "P&W R619AC"; - compatible = "p2w,r619ac"; - - chosen { - bootargs-append = " root=/dev/ubiblock0_1 rootfstype=squashfs"; - }; -};