]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Initialize as many ethernet devices as possible
authorMario Six <mario.six@gdsys.cc>
Fri, 27 Apr 2018 12:52:56 +0000 (14:52 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:15 +0000 (13:54 -0500)
commit3ce4304205eac2bc19b9fd67651d65f7d19d3cf2
treee88fcc19f277fd570c7c36a5010f54aaee6895da
parent2d8f25ed7b3626930b9fc950b20a1ec0be7abbe9
net: Initialize as many ethernet devices as possible

On devices that have their first network interface provided by a FPGA,
the initialization of further interfaces will fail if the FPGA is not
yet programmed. This leads to problems during factory setup when the
data is supposed to be loaded over secondary netowork interfaces.

To avoid this, use the uclass_{first,next}_device_check functions to
initialize as many ethernet devices as possible.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/eth-uclass.c