net: reduce boot latency on QE UEC based boards
authorKim Phillips <kim.phillips@freescale.com>
Tue, 15 Jan 2008 20:11:00 +0000 (14:11 -0600)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 16 Jan 2008 21:54:20 +0000 (16:54 -0500)
commitee62ed3286f83b98b7785e0318dc6379e78f7ff6
treeb3cdde40e5e3eeb227186d9171f0c9d0f2d105b5
parent55fe7c57a8b99a130925052dcdbb77f053dc50e3
net: reduce boot latency on QE UEC based boards

actually polling for PHY autonegotiation to finish enables us to remove the
5 second boot prompt latency present on QE based boards.

call to qe_set_mii_clk_src in init_phy, and mv call to init_phy from
uec_initialize to uec_init by Joakim Tjernlund; autonegotiation wait
code shamelessly stolen from tsec driver.

also rm unused CONFIG_RMII_MODE code.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/qe/uec.c
drivers/qe/uec_phy.c