diff options
| author | Priyanka Jain <priyanka.jain@nxp.com> | 2018-01-30 11:38:38 +0530 |
|---|---|---|
| committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-03-22 15:05:31 -0500 |
| commit | af5484acb0e8e4b6d0d977f84d8dde7b537c441d (patch) | |
| tree | 7eb98f5528f6d8fdab26db011cb78461456ec90a /scripts | |
| parent | a802d1e2684a30d01bde657ebf55c2b5eca1d712 (diff) | |
| download | u-boot-af5484acb0e8e4b6d0d977f84d8dde7b537c441d.tar.gz u-boot-af5484acb0e8e4b6d0d977f84d8dde7b537c441d.tar.xz u-boot-af5484acb0e8e4b6d0d977f84d8dde7b537c441d.zip | |
net/phy/cortina.c: Update get_phy_id implementation
Update get_phy_id() implementation in cortina.c to check
for Cortina_phy by comparing device phy_id with cortina phy_id
instead of relying on presence of CORTINA macros.
This will allow get_phy_id to work with non-cortina phy devices
which might have same phy address as Cortina device but on
different bus.
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
