diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-10 08:51:50 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:25 +0200 |
commit | cd2004037c01be34ebd61f49755fd252d03131aa (patch) | |
tree | acbb26cfa8437894fba7a03ced61ef8dea2b6a92 /arch/arm/cpu/arm926ejs/mx25/generic.c | |
parent | 78befb695d0b28d9888fe5dee27dc80b24eac1c9 (diff) | |
download | u-boot-imx-cd2004037c01be34ebd61f49755fd252d03131aa.zip u-boot-imx-cd2004037c01be34ebd61f49755fd252d03131aa.tar.gz u-boot-imx-cd2004037c01be34ebd61f49755fd252d03131aa.tar.bz2 |
mxc_spi: Round up clock divider
Since the input frequency of the API is a maximum that should not be exceeded in
order for the devices to operate properly, the SPI clock divider should be
rounded up, not truncated.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx25/generic.c')
0 files changed, 0 insertions, 0 deletions