bcm53xx: remove 07_set_preinit_iface_bcm53xx
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 10 Jun 2022 23:08:58 +0000 (01:08 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 19 Jun 2022 10:31:02 +0000 (12:31 +0200)
with the switch to DSA setup, the switch gets correctly
programmed via the device-tree now. This hack is no
longer necessary.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx [deleted file]

diff --git a/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx b/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx
deleted file mode 100644 (file)
index 9e7c4b8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-set_preinit_iface() {
-       . /lib/functions.sh
-
-       case $(board_name) in
-       meraki,mr32)
-               # switch needs to be out of the vlan mode.
-               swconfig dev switch0 set reset 1
-               swconfig dev switch0 set enable_vlan 0
-               swconfig dev switch0 set apply 1
-               ;;
-       esac
-}
-
-boot_hook_add preinit_main set_preinit_iface