Files
u-boot-tk1-som/drivers/spi
Dirk Behme 9a30903b44 spi: mxc_spi: Update pre and post divider algorithm
The spi clock divisor is of the form x * (2**y),  or  x  << y, where x is
1 to 16, and y is 0 to 15. Note the similarity with floating point numbers.
Convert the desired divisor to the smallest number which is >= desired divisor,
and can be represented in this form. The previous algorithm chose a divisor
which could be almost twice as large as needed.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
2013-06-26 16:23:30 +02:00
..
2011-07-25 23:40:11 +02:00
2013-03-25 09:56:07 -07:00
2013-04-01 16:33:52 -04:00
2013-03-19 08:45:36 -07:00
2013-03-25 09:56:07 -07:00