Re: [U-Boot] [PATCH] net: phy: ti: Fix clock output DT property

2019-07-08 Thread Joseph Hershberger
> -Original Message- > From: Trent Piepho > Sent: Friday, May 10, 2019 12:49 PM > To: u-boot@lists.denx.de > Cc: Trent Piepho ; Joseph Hershberger > ; Janine Hagemann > ; Grygorii Strashko > Subject: [EXTERNAL] [PATCH] net: phy: ti: Fix clock output DT property > > The code block reading

Re: [U-Boot] [PATCH] net: phy: ti: Fix clock output DT property

2019-05-13 Thread Grygorii Strashko
On 10.05.19 20:49, Trent Piepho wrote: > The code block reading the DT property for the clock output control was > before the phy's DT node pointer was set, so it could never work. Move > it after the node pointer is set. > > Also store the unsigned 32-bit property into an unsigned value, not a

[U-Boot] [PATCH] net: phy: ti: Fix clock output DT property

2019-05-10 Thread Trent Piepho
The code block reading the DT property for the clock output control was before the phy's DT node pointer was set, so it could never work. Move it after the node pointer is set. Also store the unsigned 32-bit property into an unsigned value, not a signed value, as the former will cause a problem i