]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mpc85xx: fix failsafe iface selection for mpc85xx boards 21516/head
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 12 Jan 2026 14:44:05 +0000 (15:44 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 13 Jan 2026 23:26:31 +0000 (00:26 +0100)
commita73db6d0a041e1b86bd72ee4103b23d41887a31e
tree2f3fd7ee419ea0074eb2c113df19950e0a3f148c
parent6ff4557317139cc02003db9d058f4d9d6ba859ce
mpc85xx: fix failsafe iface selection for mpc85xx boards

Some mpc85xx boards still boot with failsafe configured on a non-LAN
interface. Align the preinit interface with the first DSA port or the
interface that LAN is connected to.

This makes failsafe reachable on devices where the default selection does
not map to the primary LAN port.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21516
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx