diff options
author | John Crispin <john@openwrt.org> | 2015-11-22 11:48:34 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-22 11:48:34 +0000 |
commit | bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739 (patch) | |
tree | 076a75fba9ab05b1830cb23765f6b3c2b6f36542 /tools/ccache/files/ccache_cxx | |
parent | 702c480dfe557087a1d4c534036fee4d59677f38 (diff) | |
download | upstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.tar.gz upstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.tar.bz2 upstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.zip |
ramips: improve rt2880 spi wait ready function
use loops_per_jiffy, spi clock speed and write bytes to get the
spi loop count. if loop to 0 than spi operation timeout.
remove usleep. we only write 1 byte to spi device. use busy loop
would be better.
Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47575
Diffstat (limited to 'tools/ccache/files/ccache_cxx')
0 files changed, 0 insertions, 0 deletions