summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2011-11-05 14:01:22 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2011-11-05 14:01:22 +0000
commitf4b74b269af2f70a1b74715888b64b61dc73eff6 (patch)
tree2e4c8a26fc6488cbc14942f4ada168d3dbf914f0 /firmware/target/coldfire
parent9310fc0b4c78eff371101088ea31d62cf35bfb76 (diff)
downloadrockbox-f4b74b269af2f70a1b74715888b64b61dc73eff6.tar.gz
rockbox-f4b74b269af2f70a1b74715888b64b61dc73eff6.zip
MPIO HD300: vastly improve sound quality. This unfortunately means reverting r28797 which introduced poping noise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30904 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/mpio/hd300/lcd-hd300.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/firmware/target/coldfire/mpio/hd300/lcd-hd300.c b/firmware/target/coldfire/mpio/hd300/lcd-hd300.c
index 3752a84073..31087a5d43 100644
--- a/firmware/target/coldfire/mpio/hd300/lcd-hd300.c
+++ b/firmware/target/coldfire/mpio/hd300/lcd-hd300.c
@@ -210,25 +210,8 @@ void lcd_update(void)
lcd_write_command_ex(LCD_CNTL_COLUMN, 0, -1);
lcd_write_command(LCD_CNTL_DATA_WRITE);
- /* lcd can't handle the speed of DMA transfer when boosted
- * 11 MHz in bootloader hangs for unknown reason
- */
- if ( cpu_frequency == CPUFREQ_NORMAL )
- {
- /* Copy display bitmap to hardware using DMA */
- DSR3 = 1;
- DAR3 = 0xf0000002;
- SAR3 = (unsigned long)lcd_framebuffer;
- BCR3 = LCD_WIDTH*LCD_FBHEIGHT;
- DCR3 = DMA_BWC(1) | DMA_SINC | DMA_SSIZE(DMA_SIZE_BYTE) |
- DMA_DSIZE(DMA_SIZE_BYTE) | DMA_START;
- }
- else
- {
- /* Copy display bitmap to hardware */
- lcd_write_data (&lcd_framebuffer[0][0], LCD_WIDTH*LCD_FBHEIGHT);
- }
-
+ /* Copy display bitmap to hardware */
+ lcd_write_data (&lcd_framebuffer[0][0], LCD_WIDTH*LCD_FBHEIGHT);
}
/* Update a fraction of the display. */