summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iriver
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-17 20:45:13 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-17 20:45:13 +0000
commit3674af64417b911ce69539abeb6b99e3875b1a90 (patch)
tree6125777a6e6852fc4e5e7bf75fba77b1a404f060 /firmware/target/coldfire/iriver
parent702600cbdb2a5ecf381c5e9533b302443eb45dce (diff)
downloadrockbox-3674af64417b911ce69539abeb6b99e3875b1a90.tar.gz
rockbox-3674af64417b911ce69539abeb6b99e3875b1a90.zip
Coldfire: Partially revert buffered writes, and enable them explicitly for the LCD only. Turned out that with buffered writes enabled, reads after writes are not always serialized, which is a bad thing for I/O. Buffered writes to the LCD are safe because that's write-only. Fixes FS #7985. How come I didn't notice this earlier? :>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15173 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iriver')
-rw-r--r--firmware/target/coldfire/iriver/h100/adc-h100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iriver/h100/adc-h100.c b/firmware/target/coldfire/iriver/h100/adc-h100.c
index 0c14d7b338..40fcc8925d 100644
--- a/firmware/target/coldfire/iriver/h100/adc-h100.c
+++ b/firmware/target/coldfire/iriver/h100/adc-h100.c
@@ -37,7 +37,7 @@
({ \
int _x_; \
asm volatile ( \
- "move.l #13, %[_x_] \r\n" \
+ "move.l #11, %[_x_] \r\n" \
"1: \r\n" \
"subq.l #1, %[_x_] \r\n" \
"bhi.b 1b \r\n" \