ramips: move ESW reset to preinit on RT305x/RT5350
authorJohn Crispin <john@openwrt.org>
Mon, 24 Jun 2013 12:39:28 +0000 (12:39 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 24 Jun 2013 12:39:28 +0000 (12:39 +0000)
commit5063f712a6d5d7e306566b4ad697967b5c06506c
tree7f1791869d2229136b565c339f9d519e549ef730
parent111b480945afe53f0fe0fa877159e38461395327
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
target/linux/ramips/base-files/etc/uci-defaults/02_network
target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips