]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx_phy: Pass correct pointer to fdtdec_get_int()
authorKamensky Ivan <kamensky.ivan@mail.ru>
Tue, 27 Dec 2016 16:12:23 +0000 (19:12 +0300)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 11 Jan 2017 06:00:27 +0000 (07:00 +0100)
commit1e946297575b320e6f6ab8a33467df17d8e38923
treeabce596e9644b4d4c00bf985befd947670480ee0
parent509d4b9545d82179d5854eddb928c0055702dc67
xilinx_phy: Pass correct pointer to fdtdec_get_int()

This patch fixes incorrect pointer on offset device in device tree blob.
When using with the component "Ethernet 1G/2.5G BASE-X PCS/PMA or SGMII"
it does not understand what type is XAE_PHY_TYPE_1000BASE_X and trying
to change frequency.

Signed-off-by: Kamensky Ivan <kamensky.ivan@mail.ru>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/xilinx_phy.c