diff options
author | Patrick van Gelder <patrick.vangelder@nl.bosch.com> | 2020-06-03 15:18:04 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-06-24 14:11:08 +0300 |
commit | 945a55050dbd2e916724c2db0ac7eb6c3e29518e (patch) | |
tree | ee28f7d057754a77ec8e47aae44886bbfcbe197c /board | |
parent | 6b3984c6318447e954942c9780b714a676f977e6 (diff) | |
download | u-boot-945a55050dbd2e916724c2db0ac7eb6c3e29518e.tar.xz |
net: xilinx: axi_emac: Fix endless loop when no PHYs are connected
The index used to iterate over the possible PHYs in axiemac_phy_init was an
unsigned int and decremented. Therefor it was always >= 0 and never exited
the loop.
Signed-off-by: Patrick van Gelder <patrick.vangelder@nl.bosch.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions