Re: [U-Boot] [PATCH] arm: ls102xa: Fix RGMII phy-connection-type FDT fixup

2018-08-13 Thread York Sun
On 07/16/2018 01:28 PM, Brendan Shanks wrote: > In ft_fixup_enet_phy_connect_type(), use strlen() instead of sizeof() on > the pointer result of phy_string_for_interface(). > sizeof() was returning the size of the pointer (4 bytes), resulting in > the phy-connection-type being set to "rgmi" rather

[U-Boot] [PATCH] arm: ls102xa: Fix RGMII phy-connection-type FDT fixup

2018-07-16 Thread Brendan Shanks
In ft_fixup_enet_phy_connect_type(), use strlen() instead of sizeof() on the pointer result of phy_string_for_interface(). sizeof() was returning the size of the pointer (4 bytes), resulting in the phy-connection-type being set to "rgmi" rather than "rgmii-id". Signed-off-by: Brendan Shanks Cc: Y