Re: [U-Boot] [Patch v2] net: fm: fix spi flash probe for using driver model

2016-08-04 Thread Joe Hershberger
On Tue, Aug 2, 2016 at 10:04 PM, Gong Qianyu wrote: > The current code would always use the speed and mode set by > CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using > SPI driver model it should get the values from DT. > > Signed-off-by: Gong Qianyu > Reviewed-by: Jagan Teki Reviewed-

[U-Boot] [Patch v2] net: fm: fix spi flash probe for using driver model

2016-08-02 Thread Gong Qianyu
The current code would always use the speed and mode set by CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using SPI driver model it should get the values from DT. Signed-off-by: Gong Qianyu Reviewed-by: Jagan Teki --- v2: - Revised the comments as per Jagan's advice. drivers/net/fm/fm