diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-10-15 21:16:50 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-10-15 21:16:50 +0000 |
commit | b85b6be3aa05510a1aca173a6f5a762c4448fdae (patch) | |
tree | 7d6b3571c1f0572c4ae6e99fce885493b5664e37 /firmware/target/coldfire/iriver/h100/adc-h100.c | |
parent | c08c081211d1eba8115569af9eaeae60e7cf4a9b (diff) | |
download | rockbox-b85b6be3aa05510a1aca173a6f5a762c4448fdae.tar.gz rockbox-b85b6be3aa05510a1aca173a6f5a762c4448fdae.zip |
Coldfire targets: enable buffered writes by default. Speeds up all sorts of I/O that writes to ports: LCD update (except the functions using DMA on H300), ATA writes, .... Some timings had to be adjusted for the new configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15129 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iriver/h100/adc-h100.c')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/adc-h100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iriver/h100/adc-h100.c b/firmware/target/coldfire/iriver/h100/adc-h100.c index b69204aa02..0c14d7b338 100644 --- a/firmware/target/coldfire/iriver/h100/adc-h100.c +++ b/firmware/target/coldfire/iriver/h100/adc-h100.c | |||
@@ -37,7 +37,7 @@ | |||
37 | ({ \ | 37 | ({ \ |
38 | int _x_; \ | 38 | int _x_; \ |
39 | asm volatile ( \ | 39 | asm volatile ( \ |
40 | "move.l #11, %[_x_] \r\n" \ | 40 | "move.l #13, %[_x_] \r\n" \ |
41 | "1: \r\n" \ | 41 | "1: \r\n" \ |
42 | "subq.l #1, %[_x_] \r\n" \ | 42 | "subq.l #1, %[_x_] \r\n" \ |
43 | "bhi.b 1b \r\n" \ | 43 | "bhi.b 1b \r\n" \ |
@@ -94,7 +94,7 @@ unsigned short adc_scan(int channel) | |||
94 | data <<= 1; | 94 | data <<= 1; |
95 | data |= DO?1:0; | 95 | data |= DO?1:0; |
96 | } | 96 | } |
97 | 97 | ||
98 | CS_HI; | 98 | CS_HI; |
99 | 99 | ||
100 | set_irq_level(level); | 100 | set_irq_level(level); |