ramips: move ESW reset to preinit on RT305x/RT5350
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Jun 2013 12:39:28 +0000 (12:39 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Jun 2013 12:39:28 +0000 (12:39 +0000)
commit4bedb1ac08477917ee4a157be9d35023fb05a238
treeaa7a73304aeba77e8d44e57ee4d4378c97145cf5
parent4f6a8df9b3f2f02c3cdcc0719d9e6ef7280eac51
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37027 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/etc/uci-defaults/02_network
target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips