summaryrefslogtreecommitdiff
path: root/cmd/spibootldr.c
diff options
context:
space:
mode:
authorkarl beldan <karl.beldan@gmail.com>2016-08-20 08:56:53 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-22 14:21:20 -0500
commit05237f735e5f325e03db8ff153cb5266e337a2fe (patch)
treeffd65a23052d8d260f34d367b850eca2bb8ff452 /cmd/spibootldr.c
parentc23c7d461fc52f03f784dee9792f8547d14e731d (diff)
downloadu-boot-imx-05237f735e5f325e03db8ff153cb5266e337a2fe.zip
u-boot-imx-05237f735e5f325e03db8ff153cb5266e337a2fe.tar.gz
u-boot-imx-05237f735e5f325e03db8ff153cb5266e337a2fe.tar.bz2
net: davinci_emac: Restore the internal MDIO accessors return values
The spatch series converting legacy drivers from miiphy_register to mdio_register changed the return convention of the davinci_emac internal MDIO accessors, making the internal code relying on it misbehaving: no mdiodev get registered and U-Boot crashes when using net cmds in the context of the old legacy net API. ATM davinci_emac_initialize and cpu_eth_init don't return a proper value in that case but fixing them would not avoid the crash. This change is just a follow-up to the spatch pass, the MDIO accessors of the mdiodev introduced by the spatch pass retain their proper values. Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/spibootldr.c')
0 files changed, 0 insertions, 0 deletions