mediatek: filogic: fix failsafe mode on devices with no lan1
authorPaul Geraedts <p.f.j.geraedts@gmail.com>
Sat, 24 Feb 2024 08:01:01 +0000 (09:01 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 2 Mar 2024 13:08:08 +0000 (14:08 +0100)
commit8256d06933e7542ecdd427b6a0ef4e87bb37d3f4
treeb124d5ac61e1bfd1c41b219e59fbd9592006a1e7
parent766e688b3032feed38ee1ef7c0270faca5f8457c
mediatek: filogic: fix failsafe mode on devices with no lan1

Default to lan4 port, instead of (missing) lan1 port,
to fix failsafe mode on Xiaomi AX3000T, WR30U, AX6000

Build system: x86/64
Build-tested: mediatek/filogic/xiaomi_mi-router-ax3000t-ubootmod
Run-tested: mediatek/filogic/xiaomi_mi-router-ax3000t-ubootmod

Signed-off-by: Paul Geraedts <p.f.j.geraedts@gmail.com>
target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface