ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet interface, otherwise the driver will panic. As we already init the ethernet in preinit we therefor need to reset the switch before that. Signed-off-by: Felix Kaechele <felix@fetzig.org> SVN-Revision: 37027
This commit is contained in:
@@ -13,7 +13,6 @@ ramips_setup_rt3x5x_vlans()
|
||||
fi
|
||||
local wanports=""
|
||||
local lanports=""
|
||||
swconfig dev rt305x set reset 1
|
||||
for port in 5 4 3 2 1 0; do
|
||||
if [ `swconfig dev rt305x port $port get disable` = "1" ]; then
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user