Re: [U-Boot] [PATCH v3 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-11-11 Thread Jagan Teki
On Sat, Nov 5, 2016 at 4:05 PM, Vignesh R wrote: > Fix the divider calculation logic to choose a value so that the > resulting baudrate is either equal to or closest possible baudrate less > than the requested value. While at that, cleanup ti_spi_set_speed(). > > Signed-off-by:

[U-Boot] [PATCH v3 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-11-05 Thread Vignesh R
Fix the divider calculation logic to choose a value so that the resulting baudrate is either equal to or closest possible baudrate less than the requested value. While at that, cleanup ti_spi_set_speed(). Signed-off-by: Vignesh R --- v3: Move SCLK disable and enable blocks