diff options
author | Vignesh R <vigneshr@ti.com> | 2016-11-05 16:05:16 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-13 15:54:37 -0500 |
commit | 948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4 (patch) | |
tree | bb63e2efb3fd580df536632e9daa609862c91afe /include/axp_pmic.h | |
parent | 84295f2a202b6c062ec17e148e3418af0db795f5 (diff) | |
download | u-boot-imx-948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4.zip u-boot-imx-948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4.tar.gz u-boot-imx-948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4.tar.bz2 |
spi: ti_qspi: Fix baudrate divider calculation
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 <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'include/axp_pmic.h')
0 files changed, 0 insertions, 0 deletions