aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-06-11 01:08:58 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-06-19 12:31:02 +0200
commit554ca44730731da6fddc51e1d3027c5e666a7d0d (patch)
treeea0a4a79ebae8ae1fc5d5e09ba7a83163d7c9645 /target/linux/bcm53xx/base-files
parentac2166b1358b1cfe5b6397f027556f7327063c3e (diff)
downloadupstream-554ca44730731da6fddc51e1d3027c5e666a7d0d.tar.gz
upstream-554ca44730731da6fddc51e1d3027c5e666a7d0d.tar.bz2
upstream-554ca44730731da6fddc51e1d3027c5e666a7d0d.zip
bcm53xx: remove 07_set_preinit_iface_bcm53xx
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>
Diffstat (limited to 'target/linux/bcm53xx/base-files')
-rw-r--r--target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx14
1 files changed, 0 insertions, 14 deletions
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
index 9e7c4b821e..0000000000
--- a/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx
+++ /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