summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-11-02 01:10:29 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-11-02 01:10:29 +0000
commit0b34b77e1388b956685a66b04865c598585057aa (patch)
treeb859ce687ff2c907ef06bcd315125789dc86a916 /firmware/target/arm
parent34151e55f877828375f6907ac92e9000cd71f633 (diff)
make the m200v2 lcd work again with higher cpu frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18974 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/lcd-ssd1815.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/lcd-ssd1815.c b/firmware/target/arm/lcd-ssd1815.c
index 2acfa791cb..e9b6bff579 100644
--- a/firmware/target/arm/lcd-ssd1815.c
+++ b/firmware/target/arm/lcd-ssd1815.c
@@ -80,7 +80,6 @@ void lcd_write_command(int byte)
/* While push fifo is not empty */
while ((DBOP_STAT & (1<<10)) == 0)
;
-
DBOP_TIMPOL_23 = 0x6E06F;
}
@@ -94,6 +93,10 @@ void lcd_write_data(const fb_data* p_bytes, int count)
/* While push fifo is not empty */
while ((DBOP_STAT & (1<<10)) == 0)
;
+ /* delay a bit. value arbitrary */
+ int i = 0;
+ while(i < 15)
+ i++;
}
}