]> git.sur5r.net Git - u-boot/commit
net: mvpp2: Move probe function from MISC to ETH DM driver
authorStefan Roese <sr@denx.de>
Thu, 16 Feb 2017 14:26:06 +0000 (15:26 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:42:11 +0000 (07:42 +0200)
commit1fabbd074e8fb0315901c2e0ba04ca2519a5bb6f
treee342e470fd0c516a38a79f378c66b42922732ee1
parent0a61e9ad1c9455a1ed5c31fad3f4a991271db02e
net: mvpp2: Move probe function from MISC to ETH DM driver

This patch moves the base_probe function mvpp2_base_probe() from the
MISC driver to the ETH driver. When integrated in the MISC driver,
probe is called too early before the U-Boot ethernet infrastructure
(especially the MDIO / PHY interface) has been initialized. Resulting
in errors in mdio_register().

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c