]> git.sur5r.net Git - u-boot/commit
arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup
authorStefan Roese <sr@denx.de>
Tue, 25 Feb 2014 10:07:22 +0000 (11:07 +0100)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:42:07 +0000 (09:42 -0500)
commitcc07294bc704694ae33db75b25ac557e5917a83f
tree3cfb394522762122a581203fdd7a861c2018d8bd
parentb56b9a0884afab53f7c93cd3c90648437ca7e35e
arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup

Since the switch may be re-configured for VLAN usage in Linux (or any
other OS), lets reset the switch to its default register values upon
power-up. Otherwise network might not be available in U-Boot.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Roger Meier <r.meier@siemens.com>
Cc: Lukas Stockmann <lukas.stockmann@siemens.com>
Cc: Tom Rini <trini@ti.com>
board/siemens/dxr2/board.c
board/siemens/dxr2/mux.c
include/configs/dxr2.h