diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-03 21:44:49 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-03 21:44:49 +0000 |
commit | 6e40988803609c6cd65e7091e1b58e4a6a5b936d (patch) | |
tree | b98a36f41e16c73bdc0e112206e5b73e2fe419eb /firmware/target/coldfire/mpio/hd200/system-hd200.c | |
parent | 64276fc0fff63661a40d8640cc1a08143c80dc72 (diff) | |
download | rockbox-6e40988803609c6cd65e7091e1b58e4a6a5b936d.tar.gz rockbox-6e40988803609c6cd65e7091e1b58e4a6a5b936d.zip |
HD200 - Increase ADC clock when boosted. Scan all 4 ADC channels during system tick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27262 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/mpio/hd200/system-hd200.c')
-rw-r--r-- | firmware/target/coldfire/mpio/hd200/system-hd200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/system-hd200.c b/firmware/target/coldfire/mpio/hd200/system-hd200.c index 60699e46a9..a6277d0390 100644 --- a/firmware/target/coldfire/mpio/hd200/system-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/system-hd200.c | |||
@@ -81,7 +81,7 @@ void cf_set_cpu_frequency(long frequency) | |||
81 | IDECONFIG2 = (1<<18)|(1<<16)|(1<<8)|(1<<0); /* TA /CS2 enable + CS2wait */ | 81 | IDECONFIG2 = (1<<18)|(1<<16)|(1<<8)|(1<<0); /* TA /CS2 enable + CS2wait */ |
82 | 82 | ||
83 | and_l(~(0x07<<16), &ADCONFIG); | 83 | and_l(~(0x07<<16), &ADCONFIG); |
84 | or_l((0x06)<<16, &ADCONFIG); /* adclk = busclk/64 */ | 84 | or_l((0x05)<<16, &ADCONFIG); /* adclk = busclk/32 */ |
85 | break; | 85 | break; |
86 | 86 | ||
87 | case CPUFREQ_NORMAL: | 87 | case CPUFREQ_NORMAL: |