From b85b6be3aa05510a1aca173a6f5a762c4448fdae Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 15 Oct 2007 21:16:50 +0000 Subject: 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 --- firmware/target/coldfire/iriver/h100/adc-h100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/coldfire/iriver/h100/adc-h100.c') 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 @@ ({ \ int _x_; \ asm volatile ( \ - "move.l #11, %[_x_] \r\n" \ + "move.l #13, %[_x_] \r\n" \ "1: \r\n" \ "subq.l #1, %[_x_] \r\n" \ "bhi.b 1b \r\n" \ @@ -94,7 +94,7 @@ unsigned short adc_scan(int channel) data <<= 1; data |= DO?1:0; } - + CS_HI; set_irq_level(level); -- cgit v1.2.3